Go to the source code of this file.
Check if the "Upgrade" HTTP/1.1 mode of protocol switching is enabled for the given request.
- Parameters
-
- Returns
- != 0 iff Upgrade switching is enabled
const char* h2_h2_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.
Check if the given connection fulfills the requirements as configured.
- 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 connection requirements are met
const char* h2_clear_protos[] |
List of ALPN protocol identifiers that we support in cleartext negotiations. NULL terminated.
const char* h2_tls_protos[] |
List of ALPN protocol identifiers that we support in TLS encrypted negotiations. NULL terminated.