Class type Http_types.daemon


class type daemon = object .. end
an HTTP daemon

method accept : connection
Returns a connection to a client, may block if no client has connected yet
method getRequest : request * connection
shortcut method, blocks until a client has submit a request and return a pair request * connection