diff --git a/README.md b/README.md index 5dc6f2aa..4e8d5fde 100644 --- a/README.md +++ b/README.md @@ -367,6 +367,21 @@ describing the error will be returned. [Back to TOC](#table-of-contents) +resty.kong.tls.disable\_http2\_alpn +---------------------------------------------------- +**syntax:** *ok, err = resty.kong.tls.disable\_http2\_alpn()* + +**context:** *client_hello_by_lua* + +**subsystems:** *http* + +Disables HTTP/2 ALPN negotiation for the current TLS connection. When called, the +connection will not negotiate HTTP/2 using ALPN and will fallback to HTTP/1.1 even though [`http2`](https://nginx.org/en/docs/http/ngx_http_v2_module.html#http2) directive is enabled. + +This function returns `true` when the call is successful. Otherwise it returns `false` and a string describing the error. + +[Back to TOC](#table-of-contents) + resty.kong.grpc.set\_authority ------------------------------ **syntax:** *ok, err = resty.kong.grpc.set_authority(new_authority)*