Expand description
HTTP/3 client over QUIC via h3 / h3-quinn.
StructsΒ§
- H3Reader π
- Reads codec frames from the recv half of an HTTP/3 request stream. One read may hold part of a frame or several frames.
FunctionsΒ§
- connect π
- Connect to an HTTP/3 server and return a request sender. A background task drives the connection until close.
- driver_
task π - read_
response π - Wait for the response headers and split the stream into the send half and a reader for the reply.
- send π
- start_
request π - Send the request headers and
msg. The request body stays open. - subscribe π
- Subscribe over HTTP/3: send the request with the body left open, read the initial response, and return the send half and the reader for notifications.
- subscription_
task π - Forward notifications to the subscription until the stream ends or an unsubscribe request arrives. The unsubscribe goes out on the same stream, so the server handles it with the subscriptionβs channel.
Type AliasesΒ§
- H3Recv
Stream π - H3Send
Request π - H3Send
Stream π - H3Stream π