Expand description
Async networking utilities built on Tokio.
Provides TCP connection and listener helpers, plus a minimal HTTP GET/POST client for common use cases.
Structs§
- Http
Response - A minimal async HTTP response.
Functions§
- http_
get - Perform a minimal HTTP GET request.
- read_
stream - Read all available data from a TCP stream into a
Vec<u8>. - tcp_
bind - Bind a TCP listener on the given address.
- tcp_
connect - Connect to a TCP server.
- write_
stream - Write data to a TCP stream.