HTTP client handler. More...
Data Structures | |
struct | hcl_session_tag |
Typedefs | |
typedef struct hcl_session_tag | hcl_session_s |
Functions | |
con_upstream_action_e | hcl_read (con_connection_s *connection) |
Called when it's time to read data from the connection. | |
bool | hcl_accept (con_connection_s *connection) |
Called when a client is accepted by the connection module. | |
void | hcl_close (con_connection_s *connection, con_close_reason_e reason) |
Called when a connection is closed. |
HTTP client handler.
Module prefix: hcl_
$Id$
typedef struct hcl_session_tag hcl_session_s |
bool hcl_accept | ( | con_connection_s * | connection | ) |
Called when a client is accepted by the connection module.
connection | The connection that was accepted. |
void hcl_close | ( | con_connection_s * | connection, | |
con_close_reason_e | reason | |||
) |
Called when a connection is closed.
Either by us, or the other end.
connection | The connection to close, valid to read or write from. | |
reason | The reason for the close. |
con_upstream_action_e hcl_read | ( | con_connection_s * | connection | ) |
Called when it's time to read data from the connection.
connection | The connection with data on it. |