MCPcopy Create free account
hub / github.com/apache/brpc / set_protocol

Method set_protocol

src/brpc/span.h:130–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 void set_ending_tid(bthread_t tid) { _ending_tid = tid; }
129 void set_remote_side(const butil::EndPoint& pt) { _remote_side = pt; }
130 void set_protocol(ProtocolType p) { _protocol = p; }
131 void set_error_code(int error_code) { _error_code = error_code; }
132 void set_request_size(int size) { _request_size = size; }
133 void set_response_size(int size) { _response_size = size; }

Callers 8

CallMethodMethod · 0.80
Span2ProtoFunction · 0.80
ProcessHttpRequestFunction · 0.80
ProcessSofaRequestFunction · 0.80
ProcessNsheadRequestFunction · 0.80
ProcessThriftRequestFunction · 0.80
ProcessRpcRequestFunction · 0.80
ProcessHuluRequestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected