[#OSSL_HTTP_bio_cb_t] = OSSL_HTTP_bio_cb_t :mrdocs: Optional callback that updates or replaces the HTTP connection BIO around connect/TLS. == Synopsis Declared in `<openssl/http.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef xref:BIO.adoc[BIO]*(* OSSL_HTTP_bio_cb_t)(xref:BIO.adoc[BIO]*, void*, int, int); ---- == Return Value BIO to use for subsequent HTTP I/O, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *bio* | Current connection BIO (may be NULL before connect). | *arg* | User pointer supplied to OSSL_HTTP_open(). | *connect* | Non‐zero when establishing the connection; zero when disconnecting. | *detail* | Non‐zero to request detailed error reporting from the callback. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#