mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-09 03:22:45 +03:00
Fixed httplib_cry documentation
This commit is contained in:
@@ -24,7 +24,7 @@ LibHTTP is often used as HTTP and HTTPS library inside a larger application. A
|
||||
### System Functions
|
||||
|
||||
* [`httplib_check_feature( feature );`](api/httplib_check_feature.md)
|
||||
* [`httplib_cry( conn, fmt, ... );`](api/httplib_cry.md)
|
||||
* [`httplib_cry( ctx, conn, fmt, ... );`](api/httplib_cry.md)
|
||||
* [`httplib_get_context( conn );`](api/httplib_get_context.md)
|
||||
* [`httplib_get_builtin_mime_type( file_name );`](api/httplib_get_builtin_mime_type.md)
|
||||
* [`httplib_get_option( ctx, name );`](api/httplib_get_option.md)
|
||||
|
@@ -1,12 +1,13 @@
|
||||
# LibHTTP API Reference
|
||||
|
||||
### `httplib_cry( conn, fmt, ... );`
|
||||
### `httplib_cry( ctx, conn, fmt, ... );`
|
||||
|
||||
### Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| :--- | :--- | :--- |
|
||||
|**`conn`**|`const struct httplib_connection *`|The connection on which a problem occured|
|
||||
|**`ctx`**|`const struct httplib_context *`|The context where the problem occured|
|
||||
|**`conn`**|`const struct httplib_connection *`|The connection on which a problem occured, or NULL for a connection independent error|
|
||||
|**`fmt`**|`const char *`|Format string without a line return|
|
||||
|**`...`**|*various*|Parameters depending on the format string|
|
||||
|
||||
|
Reference in New Issue
Block a user