http3: improve documentation for Transport and ClientConn (#4696)

This commit is contained in:
Marten Seemann
2024-10-14 01:28:23 -05:00
committed by GitHub
parent 0a6e362879
commit 29f903f486
3 changed files with 15 additions and 3 deletions

View File

@@ -115,6 +115,7 @@ func newClientConn(
return c
}
// OpenRequestStream opens a new request stream on the HTTP/3 connection.
func (c *ClientConn) OpenRequestStream(ctx context.Context) (RequestStream, error) {
return c.connection.openRequestStream(ctx, c.requestWriter, nil, c.disableCompression, c.maxResponseHeaderBytes)
}