Searched refs:connection (Results 1 – 25 of 58) sorted by relevance
123
/civetweb-2.7.6/docs/api/ |
D | mg_get_thread_pointer.md | 9 |**`conn`**|`const struct mg_connection *`|The connection, for which the context has to be returned… 15 |`void *`|A pointer to the context of the given connection| 23 For callbacks executed by server worker threads, `conn` can be the connection handle - in this case, 24 the user defined pointer is taken from the connection handle. 25 In both cases, the result will be the same pointer. Reading the pointer from the connection handle …
|
D | mg_get_user_connection_data.md | 9 |**`conn`**|`const struct mg_connection *`|The connection for which to return the user data| 15 |`void *`|A pointer to the user data, or NULL if no user data was registered with the connection| 19 …connection. This user data is represented with a pointer which has been prevously registered with …
|
D | mg_printf.md | 9 |**`conn`**|`struct mg_connection *`|The connection over which the data must be sent| 21 …connection. The functionality is comparable to the `printf()` family of functions in the standard …
|
D | mg_request_info.md | 9 |**`request_method`**|`const char *`| The request method used by the client for the connection this… 18 …the length until all data has arrived (e.g. when the client closes the connection, or the final ch… 20 |**`is_ssl`**|`int`| 1 if the connection is over SSL (https), and 0 if it is a plain connection (ht… 22 |**`conn_data`**|`void *`| A pointer to connection specific user data | 29 The `mg_request_info` structure contains the client information of an existing connection.
|
D | mg_read.md | 9 |**`conn`**|`struct mg_connection *`| A pointer referencing the connection | 21 …connection. The data is handled as binary and is stored in a buffer whose address has been provide…
|
D | mg_get_context.md | 9 |**`conn`**|`const struct mg_connection *`|The connection for which the context has to be returned| 15 |`struct mg_context *`|A pointer to the context of the given connection| 19 The function `mg_get_context()` returns the context associated with a connection.
|
D | mg_close_connection.md | 9 |**`conn`**|`struct mg_connection *`|The connection which must be closed| 17 …sed to close a connection which was opened with the [`mg_download()`](mg_download.md) function. Us…
|
D | mg_send_chunk.md | 9 |**`conn`**|`struct mg_connection *`| A pointer to the connection to be used to send data | 21 The function `mg_send_chunk()` can be used to send a blob of arbitrary data over a connection. 23 The function returns a number **>0** if data was sent, the value **0** when the connection has been…
|
D | mg_connect_client_secure.md | 9 |**`client_options`**|`const struct mg_client_options *`|Settings about the server connection| 21 …mg_connect_client_secure()` creates a secure connection with a server. The information about the c…
|
D | mg_set_websocket_handler.md | 12 |**`ready_handler`**|`mg_websocket_ready_handler`|Handler called when the connection is ready| 14 |**`close_handler`**|`mg_websocket_close_handler`|Handler called when the connection closes| 28 …are called when a state change is detected on the URI like an incoming connection or data received…
|
D | mg_write.md | 9 |**`conn`**|`struct mg_connection *`| A pointer to the connection to be used to send data | 21 …connection. The size of the data is provided as a parameter. The only length limitation on this fu…
|
D | mg_download.md | 21 |`struct mg_connection *`|A pointer to the connection structure if successful and NULL otherwise| 25 …ded. If the function succeeds, a pointer is returned to a connection structure. The connection mus…
|
D | mg_send_file.md | 9 |**`conn`**|`struct mg_connection *`|The connection over which the file must be sent| 18 The function `mg_send_file()` sends the contents of a file over a connection to the remote peer. Th…
|
D | mg_get_response_info.md | 9 |**`conn`**|`const struct mg_connection *`|The connection for which the response info is needed| 19 The function `mg_response_info()` returns information about a response on a client connection opene…
|
D | mg_lock_connection.md | 8 |**`conn`**|`struct mg_connection *`|The connection to retrieve a lock| 16 The function `mg_lock_connection()` is specifically for websocket connections to lock connection. U…
|
D | mg_get_request_info.md | 9 |**`conn`**|`const struct mg_connection *`|The connection for which the request info is needed| 19 The function `mg_get_request_info()` returns information about the request on a given connection. T…
|
D | mg_send_file_body.md | 9 |**`conn`**|`struct mg_connection *`|The connection over which the file must be sent| 19 The function `mg_send_file_body()` sends the contents of a file over a connection to the remote pee…
|
D | mg_cry.md | 9 |**`conn`**|`const struct mg_connection *`|The connection on which a problem occurred| 19 The function `mg_cry()` is called when something happens on a connection. The function takes a form…
|
D | mg_send_mime_file.md | 9 |**`conn`**|`struct mg_connection *`|The connection over which the file must be sent| 19 The function `mg_send_mime_file()` sends a file over a connection including the HTTP headers. The f…
|
D | mg_get_connection_info.md | 23 a server connection index. This may be empty if the server has not been built with 26 vary, depending on the connection state and server version.
|
D | mg_handle_form_request.md | 9 |**`conn`**|`struct mg_connection *`|The connection on which form data must be processed| 20 The function `mg_handle_form_request()` processes form data on a connection. The function uses call…
|
D | mg_connect_client.md | 23 …s is not necessary. The function returns a pointer to a connection structure when the connection i…
|
D | mg_send_mime_file2.md | 9 |**`conn`**|`struct mg_connection *`|The connection over which the file must be sent| 20 The function `mg_send_mime_file2()` can be used to send a file over a connection. The function is s…
|
D | mg_set_user_connection_data.md | 9 |**`conn`**|`struct mg_connection *`|connection to add the user data| 19 data pointer attached to a connection. This value can be read using
|
D | mg_callbacks.md | 12 | |The callback function `connection_close()` is called when CivetWeb is closing a connection. The … 45 | |**0** - CivetWeb can proceed with the handshake to accept the connection | 46 | |**1** - CivetWeb must close the connection immediately without performing a handshake | 52 …s returned by the callback function, CivetWeb will close the websocket connection and no more fram… 54 …after the handshake of a websocket connection has succeeded successfully to signal the application…
|
123