MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Http_AddHeader

Function Http_AddHeader

src/Http_Worker.c:665–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665static void Http_AddHeader(struct HttpRequest* req, const char* key, const cc_string* value) {
666 String_Format2((cc_string*)req->meta, "%c:%s\r\n", key, value);
667}
668
669static cc_result HttpBackend_PerformRequest(struct HttpClientState* state) {
670 cc_result res;

Callers 2

HttpClient_SerialiseFunction · 0.85
Http_SetRequestHeadersFunction · 0.85

Calls 1

String_Format2Function · 0.85

Tested by

no test coverage detected