All the server interfaces provide http_server(:Goal, +Options) to create the server. The list of options differ, but the servers share common options:
http_server(:Goal, +Options)