|
gboolean xr_server_simple |
( |
const char * |
cert, |
|
|
int |
threads, |
|
|
const char * |
bind, |
|
|
xr_servlet_def ** |
servlets, |
|
|
GError ** |
err | |
|
) |
| | |
Use this function as a simple way to quickly start a server.
- Parameters:
-
| cert | Combined PEM file with server certificate and private. |
| threads | Number of threads in the pool. |
| bind | Port and IP address to bind to. |
| servlets | Servlet definition objects array (NULL termianted). |
| err | Pointer to the variable to store error to on error. |
- Returns:
- Function returns FALSE on error, TRUE on success.
|