Lines Matching refs:http2
26 "golang.org/x/net/http2"
27 "golang.org/x/net/http2/hpack"
55 fr *http2.Framer // HTTP/2 framer
61 frCh chan http2.Frame // used for incoming HTTP/2 frame
108 case "--http2-bridge":
209 frCh: make(chan http2.Frame),
263 st.fr = http2.NewFramer(st.conn, st.conn)
303 func (st *serverTester) readFrame() (http2.Frame, error) {
466 func (st *serverTester) http2(rp requestParam) (*serverResponse, error) {
527 err := st.fr.WriteHeaders(http2.HeadersFrameParam{
549 err := st.fr.WriteHeaders(http2.HeadersFrameParam{
567 case *http2.HeadersFrame:
589 case *http2.PushPromiseFrame:
599 case *http2.DataFrame:
610 case *http2.RSTStreamFrame:
619 case *http2.GoAwayFrame:
620 if f.ErrCode == http2.ErrCodeNo {
626 case *http2.SettingsFrame:
652 errCode http2.ErrCode // error code received in HTTP/2 RST_STREAM or GOAWAY