Skip to main content

Module http

Module http 

Source
Expand description

The reqwest-backed HTTP transport.

One POST of the RunAgentInput as JSON, one text/event-stream response decoded by crate::client::transport::sse. This module is the only place in the crate that pulls in an HTTP client, and it sits behind the http feature so that a wasm or custom-transport build never sees it.

Structsยง

HttpTransport
POSTs a run to an HTTP endpoint and streams the response.
HttpTransportBuilder
Builds an HttpTransport.