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

Method status_code

src/brpc/http_header.h:136–136  ·  view source on GitHub ↗

Get/set status-code and reason-phrase. Notice that the const char returned by reason_phrase() will be invalidated after next call to set_status_code().

Source from the content-addressed store, hash-verified

134 // returned by reason_phrase() will be invalidated after next call to
135 // set_status_code().
136 int status_code() const { return _status_code; }
137 const char* reason_phrase() const;
138 void set_status_code(int status_code);
139

Callers 13

TEST_FFunction · 0.80
TestHttpAuthFunction · 0.80
CheckResponseCodeMethod · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80
ProcessHttpResponseFunction · 0.80
~HttpResponseSenderMethod · 0.80
NewMethod · 0.80
GetServerNodesMethod · 0.80
OnBodyMethod · 0.80
MakeRawHttpResponseFunction · 0.80
ConsumeWaitersFunction · 0.80

Calls

no outgoing calls

Tested by 5

TEST_FFunction · 0.64
TestHttpAuthFunction · 0.64
CheckResponseCodeMethod · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64