Available on crate feature
client only.Expand description
Standard, blocking HTTP/1.X client wrapping a boxed
Read + Write + Send stream. Each HttpClientStd::send /
HttpClientStd::send_http10 is self-contained (HTTP has no
session context). With a TLS feature enabled,
HttpClientStd::connect opens http:// / https:// URLs
end-to-end via pimalaya_stream::std::stream::StreamStd.
Structs§
- Http
Client Std - Std-blocking HTTP client wrapping a boxed
Read + Write + Sendstream. - SseStream
- Long-lived HTTP/1.1 Server-Sent Events stream; each
SseStream::next_frame/Iterator::nextblocks until the next event arrives or the connection closes.
Enums§
- Http
Client StdError - Errors returned by
HttpClientStd.
Functions§
- default_
alpn - Default ALPN identifier for HTTPS connections:
http/1.1(RFC 7301 + IANA registry).