h3

package
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDialer

func NewDialer() transport.Dialer

func NewServer

func NewServer() transport.Server

func NewStream

func NewStream(qs quic.Stream) *stream

func NewTaker

func NewTaker(p xnet.Point) transport.Taker

Types

type Taker

type Taker struct {
	*transport.HttpTaker
}

func (*Taker) Do

func (t *Taker) Do(req *http.Request, cfg *transport.Config) (rsp *http.Response, err error)

func (*Taker) GetSchema

func (t *Taker) GetSchema() string

func (*Taker) NewClient

func (t *Taker) NewClient(cfg *tls.Config) (c *http.Client)

func (*Taker) NewRequest

func (t *Taker) NewRequest(u *url.URL) *http.Request

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL