Go to the source code of this file.
◆ h2_protocol_err_description()
const char* h2_protocol_err_description |
( |
unsigned int |
h2_error | ) |
|
Provide a user readable description of the HTTP/2 error code-
- Parameters
-
h2_error | http/2 error code, as in rfc 7540, ch. 7 |
- Returns
- textual description of code or that it is unknown.
◆ h2_protocol_init()
◆ h2_protocol_is_acceptable_c1()
Check if the given primary connection fulfills the protocol requirements for HTTP/2.
- Parameters
-
c | the connection |
require_all | != 0 iff any missing connection properties make the test fail. For example, a cipher might not have been selected while the handshake is still ongoing. |
- Returns
- != 0 iff protocol requirements are met
◆ h2_protocol_ids_clear
const char* h2_protocol_ids_clear[] |
|
extern |
List of protocol identifiers that we support in cleartext negotiations. NULL terminated.
◆ h2_protocol_ids_tls
const char* h2_protocol_ids_tls[] |
|
extern |
List of protocol identifiers that we support in TLS encrypted negotiations (ALPN). NULL terminated.