Lines Matching full:if
10 // The headers in the response, if any.
11 // If the underlying transport/protocol is not THeader, this will always be nil.
35 if headerProt, ok := oprot.(*THeaderProtocol); ok {
38 if value, ok := GetHeader(ctx, key); ok {
44 if err := oprot.WriteMessageBegin(ctx, method, CALL, seqId); err != nil {
47 if err := args.Write(ctx, oprot); err != nil {
50 if err := oprot.WriteMessageEnd(ctx); err != nil {
58 if err != nil {
62 if method != rMethod {
64 } else if seqId != rSeqId {
66 } else if rTypeId == EXCEPTION {
68 if err := exception.Read(ctx, iprot); err != nil {
72 if err := iprot.ReadMessageEnd(ctx); err != nil {
77 } else if rTypeId != REPLY {
81 if err := result.Read(ctx, iprot); err != nil {
92 if err := p.Send(ctx, p.oprot, seqId, method, args); err != nil {
97 if result == nil {
103 if hp, ok := p.iprot.(*THeaderProtocol); ok {