Skip to content

LibHTTP API Reference – httplib_get_context()

httplib_get_context( conn );

Parameters

Parameter Type Description
conn const struct httplib_connection * The connection for which the context has to be returned

Return Value

Type Description
struct httplib_context * A pointer to the context of the given connection

Description

The function httplib_get_context() returns the context associated with a connection.

See Also