[#OCSP_sendreq_new] = OCSP_sendreq_new :mrdocs: Create a non‐blocking HTTP request context for an OCSP exchange. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OSSL_HTTP_REQ_CTX.adoc[OSSL_HTTP_REQ_CTX]* OCSP_sendreq_new( xref:BIO.adoc[BIO]* io, char const* path, xref:OCSP_REQUEST.adoc[OCSP_REQUEST] const* req, int buf_size); ---- == Return Value New OSSL_HTTP_REQ_CTX, or NULL on error; free with OSSL_HTTP_REQ_CTX_free(). == Parameters [cols="1,4"] |=== | Name| Description | *io* | BIO connected to the OCSP responder. | *path* | HTTP request‐URI path for the OCSP service (for example "/"). | *req* | Optional OCSP request to send immediately, or NULL to set later. | *buf_size* | I/O buffer size hint, or 0 for the default. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#