Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func Handshake ¶
func Handshake(ctx context.Context, conn io.ReadWriteCloser, opts *ConnectOptions) (*Client, error)
type ConnectOptions ¶
type ConnectOptions struct { InitialWindowSize uint32 InitialConnWindowSize uint32 MaxFrameSize uint32 MaxHeaderListSize *uint32 MaxConcurrentStreams uint32 InitialMaxSendStreams uint32 MaxConcurrentResetStreams uint32 EnablePush bool }
ConnectOptions options for http2 connect with the server.
Click to show internal directories.
Click to hide internal directories.