Expand description
HTTP + SSE transport, with reqwest and rustls. Port of @redseat/api-http
http-transport.ts and client.ts, with the address choice of direct.ts.
Structs§
- Connect
Options - How
HttpTransport::connectpicks a server address. - Http
Transport Transportover HTTP(S).
Constants§
- DEFAULT_
TIMEOUT - Default request timeout (TS: 30 s).
Functions§
- resolve_
server_ url - The base URL to reach
serverat: the first of its direct addresses and custom domain to answer/ping(seecrate::direct), else itsurl.