libonion
|
Webserver info.This is information about onion implementation of the generic server. It contains the listening descriptors, the SSL parameters if SSL is enabled... More...
#include <types.h>
Data Fields | |
int | flags |
int | timeout |
Timeout in milliseconds. | |
char * | username |
onion_poller * | poller |
onion_listen_point ** | listen_points |
onion_handler * | root_handler |
onion_handler * | internal_error_handler |
Root processing handler for this server. | |
size_t | max_post_size |
Root processing handler for this server. | |
size_t | max_file_size |
Maximum size of post data. This is the sum of posts,. | |
onion_sessions * | sessions |
Maximum size of files. | |
void * | client_data |
Storage for sessions. | |
onion_client_data_free_sig * | client_data_free |
Webserver info.
This is information about onion implementation of the generic server. It contains the listening descriptors, the SSL parameters if SSL is enabled...
This is platform specific server IO. Normally POSIX, using TCP/IP.
void* onion_t::client_data |
Storage for sessions.
Referenced by onion_client_data(), onion_free(), and onion_set_client_data().
onion_client_data_free_sig* onion_t::client_data_free |
Referenced by onion_free(), and onion_set_client_data().
int onion_t::flags |
onion_handler* onion_t::internal_error_handler |
Root processing handler for this server.
Referenced by onion_free(), onion_new(), onion_request_process(), and onion_set_internal_error_handler().
onion_listen_point** onion_t::listen_points |
List of listen_point. Everytime a new listen point adds, it reallocs the full list. Its NULL terminated. If NULL at listen, creates a http at 8080.
Referenced by onion_add_listen_point(), onion_free(), onion_get_listen_point(), onion_listen(), onion_listen_stop(), onion_set_certificate_va(), onion_set_hostname(), and onion_set_port().
size_t onion_t::max_file_size |
Maximum size of post data. This is the sum of posts,.
Referenced by onion_new(), and onion_set_max_file_size().
size_t onion_t::max_post_size |
Root processing handler for this server.
Referenced by onion_new(), and onion_set_max_post_size().
onion_poller* onion_t::poller |
onion_handler* onion_t::root_handler |
onion_sessions* onion_t::sessions |
Maximum size of files.
Referenced by onion_free(), onion_new(), onion_request_t::onion_request_clean(), onion_request_t::onion_request_free(), onion_request_t::onion_request_get_session_dict(), onion_request_t::onion_request_guess_session_id(), onion_request_t::onion_request_session_free(), and onion_set_session_backend().
int onion_t::timeout |
Timeout in milliseconds.
Referenced by onion_listen_point_t::onion_listen_point_accept(), onion_listen_point_t::onion_listen_point_request_init_from_socket(), onion_new(), and onion_set_timeout().
char* onion_t::username |
Referenced by onion_free(), and onion_set_user().