1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-04-19 11:02:13 +03:00
libhttp/doc/api/httplib_get_context.md
2016-12-13 13:21:21 +01:00

25 lines
600 B
Markdown

# LibHTTP API Reference
### `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
* [`httplib_start();`](httplib_start.md)
* [`httplib_stop();`](httplib_stop.md)