Source file
src/net/http/omithttp2server.go
1
2
3
4
5
6
7 package http
8
9 import (
10 "context"
11 "net"
12 )
13
14
15
16
17 const omitHTTP2Server = true
18
19 func (s *Server) configureHTTP2() {}
20 func (s *Server) setHTTP2Config(conf http2ExternalServerConfig) {}
21 func (s *Server) serveHTTP2Conn(ctx context.Context, nc net.Conn, h Handler, sawClientPreface bool, upgradeReq *Request, settings []byte, onClose func()) {
22 }
23
24 type http2Server struct{}
25 type http2ExternalServerConfig interface {
26 unimplementable()
27 }
28
View as plain text