forked from quic-go/quic-go
pass the connection to the client's StreamHijacker callback
This commit is contained in:
@@ -56,7 +56,7 @@ type RoundTripper struct {
|
||||
// Callers can either process the frame and return control of the stream back to HTTP/3
|
||||
// (by returning hijacked false).
|
||||
// Alternatively, callers can take over the QUIC stream (by returning hijacked true).
|
||||
StreamHijacker func(FrameType, quic.Stream) (hijacked bool, err error)
|
||||
StreamHijacker func(FrameType, quic.Connection, quic.Stream) (hijacked bool, err error)
|
||||
|
||||
// Dial specifies an optional dial function for creating QUIC
|
||||
// connections for requests.
|
||||
|
||||
Reference in New Issue
Block a user