Did you know ... Search Documentation:
Predicate make_socket_hook/3
 thread_httpd:make_socket_hook(?Port, :OptionsIn, -OptionsOut) is semidet[multifile, library(http/http_ssl_plugin)]
Hook into http_server/2 to create an SSL server if the option ssl(SSLOptions) is provided.
See also
- thread_httpd:accept_hook/2 handles the corresponding accept
 thread_httpd:make_socket_hook(?Port, :OptionsIn, -OptionsOut) is semidet[multifile, library(http/http_ssl_plugin)]
Hook into http_server/2 to create an SSL server if the option ssl(SSLOptions) is provided.
See also
- thread_httpd:accept_hook/2 handles the corresponding accept