Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ set_status_code
Method
set_status_code
src/brpc/http_header.cpp:122–124 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
120
}
121
122
void HttpHeader::set_status_code(int status_code) {
123
_status_code = status_code;
124
}
125
126
std::string& HttpHeader::GetOrAddHeader(const std::string& key) {
127
if (IsContentType(key)) {
Callers
15
stream
Method · 0.80
MakeResponseMessage
Method · 0.80
Login
Method · 0.80
List
Method · 0.80
TEST
Function · 0.80
UpdateResponseHeader
Function · 0.80
~HttpResponseSender
Method · 0.80
ParseHttpMessage
Function · 0.80
SendUnauthorizedResponse
Function · 0.80
Consume
Method · 0.80
OnResetStream
Method · 0.80
OnGoAway
Method · 0.80
Calls
no outgoing calls
Tested by
4
MakeResponseMessage
Method · 0.64
Login
Method · 0.64
List
Method · 0.64
TEST
Function · 0.64