[#OSSL_HTTP_REQ_CTX_new] = OSSL_HTTP_REQ_CTX_new :mrdocs: Allocate a low‐level HTTP request context bound to write and read BIOs. == Synopsis Declared in `<openssl/http.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OSSL_HTTP_REQ_CTX.adoc[OSSL_HTTP_REQ_CTX]* OSSL_HTTP_REQ_CTX_new( xref:BIO.adoc[BIO]* wbio, xref:BIO.adoc[BIO]* rbio, int buf_size); ---- == Return Value New request context including an internal memory BIO for headers, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *wbio* | BIO used to send the request (may equal `rbio).` | *rbio* | BIO used to receive the response (may equal `wbio).` | *buf_size* | Max response header line length and read chunk size; <= 0 uses OSSL_HTTP_DEFAULT_MAX_LINE_LEN. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#