sc_httpServer Struct Reference

HTTP server object. More...

#include <si_web/httpserv.h>

List of all members.

Public Attributes

int listenSock
int die [2]
pthread_t serverThread
s_int32 started
s_uint16 port
sc_httpDocumentList documents


Detailed Description

HTTP server object.

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.


Member Data Documentation

Pipes to signaling server thread to die

sc_httpDocumentList sc_httpServer::documents

List of installed documents

Socket on which connections are accepted

Port we are listening on

Server thread

Started bool


The documentation for this struct was generated from the following file:

doxygen