Documentation
¶
Index ¶
Constants ¶
View Source
const MethodGet0RTT = "GET_0RTT"
MethodGet0RTT allows a GET request to be sent using 0-RTT. Note that 0-RTT data doesn't provide replay protection.
View Source
const NextProto = "hq-interop"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoundTripper ¶
type RoundTripper struct {
TLSClientConfig *tls.Config
QuicConfig *quic.Config
// contains filtered or unexported fields
}
RoundTripper performs HTTP/0.9 roundtrips over QUIC.
type Server ¶
Server is a HTTP/0.9 server listening for QUIC connections.
func (*Server) ServeListener ¶
func (s *Server) ServeListener(ln *quic.EarlyListener) error
ServeListener serves HTTP/0.9 on all connections accepted from a QUIC listener.
Click to show internal directories.
Click to hide internal directories.