Skip to main content

Module http

Module http 

Source
Expand description

The HTTP Airlock — External Network Requests

Structs§

HttpStreamHandle
Represents an active streaming HTTP response.
StreamStartResponse
Metadata returned when a streaming HTTP request is initiated.

Functions§

request_bytes
Issue a raw HTTP request. The request_bytes payload format depends on the Kernel’s expectation (e.g. JSON or MsgPack representation of the HTTP request).
stream_close
Close a streaming HTTP response, releasing host-side resources.
stream_read
Read the next chunk from a streaming HTTP response.
stream_start
Start a streaming HTTP request.