C# Class Netduino.WebServer.Server.Request

Inheritance: Disposable
Exibir arquivo Open project: martinbuberl/Netduino

Public Properties

Property Type Description
Headers System.Collections.Hashtable
HttpMethod HttpMethod
HttpProtocol string
RawUrl string
Url System.Uri

Public Methods

Method Description
ParseRequestMessage ( string requestMessage ) : void
Process ( ) : void
Request ( Socket connection ) : System
SendResponse ( ) : void

Private Methods

Method Description
GetResponseBody ( int statusCode ) : byte[]
GetResponseMessage ( int statusCode, byte responseBody ) : byte[]

Method Details

ParseRequestMessage() public method

public ParseRequestMessage ( string requestMessage ) : void
requestMessage string
return void

Process() public method

public Process ( ) : void
return void

Request() public method

public Request ( Socket connection ) : System
connection System.Net.Sockets.Socket
return System

SendResponse() public method

public SendResponse ( ) : void
return void

Property Details

Headers public_oe property

public Hashtable,System.Collections Headers
return System.Collections.Hashtable

HttpMethod public_oe property

public HttpMethod HttpMethod
return HttpMethod

HttpProtocol public_oe property

public string HttpProtocol
return string

RawUrl public_oe property

public string RawUrl
return string

Url public_oe property

public Uri,System Url
return System.Uri