UmbraHttp struct

User provided HTTP implementation.

Public variables

void* userData
UmbraHttpCreateRequestFunc createRequest
Create an HTTP request object.
UmbraHttpDestroyRequestFunc destroyRequest
Destroy an HTTP request object.
UmbraHttpSetUploadDataFunc setUploadData
Set the request body.
UmbraHttpSetUploadStreamFunc setUploadStream
Set the request body to the output of a stream.
UmbraHttpSetDownloadStreamFunc setDownloadStream
Pipe the response body to an output stream.
UmbraHttpSetHeaderFunc setHeader
Set an HTTP request header.
UmbraHttpSetAuthorizationFunc setAuthorization
Set the request's API key.
UmbraHttpStartTransferFunc startTransfer
Start an HTTP request.
UmbraHttpReadStatusFunc readStatus
Query the status of an HTTP request.

Variable details

UmbraHttpCreateRequestFunc UmbraHttp::createRequest

Create an HTTP request object.

See UmbraHttpCreateRequestFunc for a complete description of the function arguments.

UmbraHttpDestroyRequestFunc UmbraHttp::destroyRequest

Destroy an HTTP request object.

See UmbraHttpDestroyRequestFunc for a complete description of the function arguments.

UmbraHttpSetUploadDataFunc UmbraHttp::setUploadData

Set the request body.

See UmbraHttpSetUploadDataFunc for a complete description of the function arguments.

UmbraHttpSetUploadStreamFunc UmbraHttp::setUploadStream

Set the request body to the output of a stream.

See UmbraHttpSetUploadStreamFunc for a complete description of the function arguments.

UmbraHttpSetDownloadStreamFunc UmbraHttp::setDownloadStream

Pipe the response body to an output stream.

UmbraHttpSetHeaderFunc UmbraHttp::setHeader

Set an HTTP request header.

UmbraHttpSetAuthorizationFunc UmbraHttp::setAuthorization

Set the request's API key.

UmbraHttpStartTransferFunc UmbraHttp::startTransfer

Start an HTTP request.

See UmbraHttpStartTransferFunc for a complete description of the function arguments.

UmbraHttpReadStatusFunc UmbraHttp::readStatus

Query the status of an HTTP request.

See UmbraHttpReadStatusFunc for a complete description of the function arguments.