Exchange the prepared HTTP request and response, retrying non‐blocking I/O until done or timeout.

Synopsis

Declared in <openssl/http.h>

BIO*
OSSL_HTTP_REQ_CTX_exchange(OSSL_HTTP_REQ_CTX* rctx);

Return Value

BIO positioned at the response body (memory BIO for expected ASN.1, else rbio); do not free; NULL on failure.

Parameters

Name

Description

rctx

Request context with BIOs and headers/body configured.

Created with MrDocs