C# Class GnomeServer.ResponseFormatters.HtmlResponseFormatter

Inheritance: IResponseFormatter
Show file Open project: Rychard/GnomeServer Class Usage Examples

Public Methods

Method Description
HtmlResponseFormatter ( String content, HttpStatusCode statusCode = HttpStatusCode.OK ) : System
WriteContent ( HttpListenerResponse response ) : void

Method Details

HtmlResponseFormatter() public method

public HtmlResponseFormatter ( String content, HttpStatusCode statusCode = HttpStatusCode.OK ) : System
content String
statusCode HttpStatusCode
return System

WriteContent() public method

public WriteContent ( HttpListenerResponse response ) : void
response System.Net.HttpListenerResponse
return void