implement a basic QUIC RoundTripper

This commit is contained in:
Marten Seemann
2016-12-19 00:32:10 +07:00
parent c547ced3ce
commit 40a6577dc3
3 changed files with 87 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ type Client struct {
responses map[protocol.StreamID]chan *http.Response
}
var _ h2quicClient = &Client{}
// NewClient creates a new client
func NewClient(hostname string) (*Client, error) {
c := &Client{