Documentation
¶
Overview ¶
Package h2conn implements a net.Conn reads and writes over which are actually directed towards a h/2 stream.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct {
net.Conn
io.ReadCloser
io.WriteCloser
// contains filtered or unexported fields
}
T is the type of h/2 overlay connections.
func New ¶
New creates a new T given a http.Roundtripper and a remote URL string to connect to via h/2 as well as any headers that are needed.
Click to show internal directories.
Click to hide internal directories.