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

Method support_client

src/brpc/protocol.h:167–169  ·  view source on GitHub ↗

True if this protocol is supported at client-side.

Source from the content-addressed store, hash-verified

165
166 // True if this protocol is supported at client-side.
167 bool support_client() const {
168 return serialize_request && pack_request && process_response;
169 }
170 // True if this protocol is supported at server-side.
171 bool support_server() const { return process_request; }
172};

Callers 4

InitMethod · 0.80
RegisterProtocolFunction · 0.80
InitChannelOptionsMethod · 0.80
InitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected