[#OSSL_HTTP_bio_cb_t]
= OSSL&lowbar;HTTP&lowbar;bio&lowbar;cb&lowbar;t
:mrdocs:

Optional callback that updates or replaces the HTTP connection BIO around connect&sol;TLS&period;

== Synopsis

Declared in `&lt;openssl&sol;http&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef xref:BIO.adoc[BIO]*(* OSSL&lowbar;HTTP&lowbar;bio&lowbar;cb&lowbar;t)(xref:BIO.adoc[BIO]*, void*, int, int);
----

== Return Value

BIO to use for subsequent HTTP I&sol;O, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bio*
| Current connection BIO (may be NULL before connect)&period;
| *arg*
| User pointer supplied to OSSL&lowbar;HTTP&lowbar;open()&period;
| *connect*
| Non&hyphen;zero when establishing the connection&semi; zero when disconnecting&period;
| *detail*
| Non&hyphen;zero to request detailed error reporting from the callback&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
