C# Class GnomeServer.ResponseFormatters.PlainTextResponseFormatter

Inheritance: IResponseFormatter
ファイルを表示 Open project: Rychard/GnomeServer Class Usage Examples

Public Methods

Method Description
PlainTextResponseFormatter ( String content, HttpStatusCode statusCode ) : System
WriteContent ( HttpListenerResponse response ) : void

Method Details

PlainTextResponseFormatter() public method

public PlainTextResponseFormatter ( String content, HttpStatusCode statusCode ) : System
content String
statusCode HttpStatusCode
return System

WriteContent() public method

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