Module http_client

Source

Structs§

AsyncPerform
The AsyncPerform struct is the result when calling nonblocking() function to signify the end of the builder. The main job of this is to perform the Curl in nonblocking fashion.
Bps
A strong type unit when setting download speed and upload speed in bytes per second.
BytesOffset
A strong type unit when offsetting especially in resuming download or upload.
FileSize
A strong type unit when setting a file size.
HttpClient
The HttpClient struct’s job is to wrap and build curl Easy2.
Mbps
A strong type unit when setting download speed and upload speed in Mega bits per second.
SyncPerform
The SyncPerform struct is the result when calling blocking() function to signify the end of the builder. The main job of this is to perform the Curl in blocking fashion.

Traits§

CurlBodyRequest
The purpose of this trait is to be able to accept request body with Option<Vec> or Vec