Skip to main content

Module client

Module client 

Source
Expand description

Outgoing HTTP request — fetch() and raw_connect() implementation.

HTTP/1.1 framing is delegated entirely to hyper. Iroh’s QUIC stream pair is wrapped in IrohStream and handed to hyper’s client connection API.

Functions§

fetch
raw_connect
Open a full-duplex QUIC connection to a remote node via HTTP Upgrade.