httpd_socket
httpd_socket
Module
httpd_socket
Module summary
Communication utility functions to be used by the Erlang web server API programmer.
Description
This module provides the Erlang web server API module programmer with utility functions for generic sockets communication. The appropriate communication mechanism is transparently used, that is, ip_comm
or ssl
.
Exports
deliver(SocketType, Socket, Data) -> Result
Types:
SocketType = socket_type() Socket = socket() Data = io_list() | binary() Result = socket_closed | void()
deliver/3
sends Data
over Socket
using the specified SocketType
. Socket
and SocketType
is