Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type PrefetchClient ¶
type PrefetchClient struct {
// contains filtered or unexported fields
}
func NewPrefetchClient ¶
func NewPrefetchClient( dialPrefetchStream func(string) (net.Conn, error), ) *PrefetchClient
func (*PrefetchClient) FilterRequest ¶
func (pc *PrefetchClient) FilterRequest(req *http.Request) (result bool)
type PrefetchServer ¶
type PrefetchServer struct {
// contains filtered or unexported fields
}
func NewPrefetchServer ¶
func NewPrefetchServer(baseHttpClient http.RoundTripper) *PrefetchServer
func (*PrefetchServer) CreatePushChannel ¶
func (ps *PrefetchServer) CreatePushChannel(conn net.Conn)
func (*PrefetchServer) TryPrefetch ¶
type PushChannelClient ¶
type PushChannelClient struct {
// contains filtered or unexported fields
}
func NewPushChannelClient ¶
func (*PushChannelClient) Close ¶
func (pc *PushChannelClient) Close() error
type PushChannelServer ¶
type PushChannelServer struct {
// contains filtered or unexported fields
}
func NewPushChannelServer ¶
func NewPushChannelServer(conn net.Conn) *PushChannelServer
func (*PushChannelServer) Close ¶
func (ps *PushChannelServer) Close() error
type PushResponseHeader ¶
Click to show internal directories.
Click to hide internal directories.