Module http_request_v1

Source

Enums§

Method
HTTP request method

Constants§

STATUS_PENDING
Magic status value indicating that the request is still pending.

Statics§

API
FFI API

Functions§

http_request__is_ready
Check if the request is done and returns the status code of the response when it is ready. A status code of 0 indicates that the request isn’t done yet.
http_request__request
Issue HTTP async request and returns handle.
http_request__retrieve
Retrieve response data.
is_ready
Check if the request is done and returns the status code of the response when it is ready. A status code of 0 indicates that the request isn’t done yet.
request
Issue HTTP async request and returns handle.
retrieve
Retrieve response data.

Type Aliases§

RequestHandle