#include <si_web/httpserv.h>
Public Attributes | |
int | listenSock |
int | die [2] |
pthread_t | serverThread |
s_int32 | started |
s_uint16 | port |
sc_httpDocumentList | documents |
This tiny web server supports HTTP 1.0 and serves up documents added to its internal document list via sc_httpServer_addDocument. The documents are generally dynamically created by a generator callback function.
int sc_httpServer::die[2] |
Pipes to signaling server thread to die
sc_httpDocumentList sc_httpServer::documents |
List of installed documents
Socket on which connections are accepted
s_uint16 sc_httpServer::port |
Port we are listening on
pthread_t sc_httpServer::serverThread |
Server thread
s_int32 sc_httpServer::started |
Started bool