MTSC  1.0.5
Build TCP servers out of modules with handlers for communication, exception and logging.
MTSC.Server.Handlers.HttpHandler Class Reference

Handler for handling server http requests. More...

Inheritance diagram for MTSC.Server.Handlers.HttpHandler:
MTSC.Server.Handlers.IHandler

Public Member Functions

HttpHandler AddHttpModule (IHttpModule module)
 Add a http module onto the server. More...
 
void QueueResponse (ClientData client, HttpMessage response)
 Send a response back to the client. More...
 

Detailed Description

Handler for handling server http requests.

Definition at line 15 of file HttpHandler.cs.

Member Function Documentation

◆ AddHttpModule()

HttpHandler MTSC.Server.Handlers.HttpHandler.AddHttpModule ( IHttpModule  module)

Add a http module onto the server.

Parameters
moduleModule to be added.
Returns
This handler object.

Definition at line 35 of file HttpHandler.cs.

◆ QueueResponse()

void MTSC.Server.Handlers.HttpHandler.QueueResponse ( ClientData  client,
HttpMessage  response 
)

Send a response back to the client.

Parameters
responseMessage containing the response.

Definition at line 44 of file HttpHandler.cs.


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