.. versionadded:: 1.4.0
- Return the TLS Server Name Indication (SNI) value sent by the client over DoT or DoH, if any
+ Return the TLS Server Name Indication (SNI) value sent by the client over DoT or DoH, if any. See :func:`SNIRule`
+ for more information, especially about the availability of SNI over DoH.
:returns: A string containing the TLS SNI value, if any
.. versionadded:: 1.4.0
Matches against the TLS Server Name Indication value sent by the client, if any. Only makes
- sense for DoT or DoH, and for that last one matching on the HTTP Host header might provide
- more consistent results.
+ sense for DoT or DoH, and for that last one matching on the HTTP Host header using :func:`HTTPHeaderRule`
+ might provide more consistent results.
+ As of the version 2.3.0-beta of h2o, it is unfortunately not possible to extract the SNI value from DoH
+ connections, and it is therefore necessary to use the HTTP Host header until version 2.3.0 is released.
:param str name: The exact SNI name to match.