Skip to content

cf_https_add_header

Category: web
GitHub: cute_https.h


Adds a header to the request.

void cf_https_add_header(CF_HttpsRequest request, const char* name, const char* value);
Parameters Description
request The request.
name The key value of the header.
value String representation of the header's value.

Remarks

You should call this before calling cf_https_process. Calling this after cf_https_process will break things.

CF_HttpsRequest
cf_https_get
cf_https_post
cf_https_destroy
cf_https_process
cf_https_response