Perform the HTTP exchange and return a BIO of the response body.
Declared in <openssl/http.h>
BIO*
OSSL_HTTP_exchange(
OSSL_HTTP_REQ_CTX* rctx,
char** redirection_url);
Memory BIO containing the response body, or NULL on failure; free with BIO_free().
| Name | Description |
|---|---|
| rctx | Request context prepared with method, headers, and optional request body. |
| redirection_url | Optional receiver for an allocated redirect URL on 3xx, or NULL. |