Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureH2C ¶
ConfigureH2C has server accept HTTP/2 in cleartext with prior knowledge, beside HTTP/1 and HTTP/2 over TLS. net/http serves those connections itself, so Shutdown sends them a GOAWAY and waits for their streams like any other connection. An HTTP/1.1 request asking to upgrade to h2c is answered over HTTP/1.1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.