- Set a Lua function that will be called everytime a new tickets key is added. The function receives:
-
- * the key content as a string
- * the keylen as an integer
-
- See :doc:`../advanced/tls-sessions-management` for more information.
-
.. method:: DOHFrontend:setResponsesMap(rules)
Set a list of HTTP response rules allowing to intercept HTTP queries very early, before the DNS payload has been processed, and send custom responses including error pages, redirects and static content.