[#OSSL_HTTP_REQ_CTX_add1_header] = OSSL_HTTP_REQ_CTX_add1_header :mrdocs: Append an HTTP request header name/value pair to an HTTP request context. == Synopsis Declared in `<openssl/http.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_HTTP_REQ_CTX_add1_header( xref:OSSL_HTTP_REQ_CTX.adoc[OSSL_HTTP_REQ_CTX]* rctx, char const* name, char const* value); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *rctx* | Request context previously created with OSSL_HTTP_REQ_CTX_new(). | *name* | Header field name (for example "Content‐Type"). | *value* | Header field value, or NULL to send a header with an empty value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#