Allocate a low‐level HTTP request context bound to write and read BIOs.
Synopsis
Declared in <openssl/http.h>
OSSL_HTTP_REQ_CTX*
OSSL_HTTP_REQ_CTX_new(
BIO* wbio,
BIO* rbio,
int buf_size);
Return Value
New request context including an internal memory BIO for headers, or NULL on failure.
Parameters
Name |
Description |
wbio |
BIO used to send the request (may equal |
rbio |
BIO used to receive the response (may equal |
buf_size |
Max response header line length and read chunk size; <= 0 uses OSSL_HTTP_DEFAULT_MAX_LINE_LEN. |
Created with MrDocs