C# Class P2PStateServer.HTTPMessage

Represents a HTTP message
Show file Open project: tenor/p2pStateServer

Protected Properties

Property Type Description
body byte[]
headers System.Collections.Specialized.NameValueCollection
host string
isError bool
requestStatusLine string
socket ServiceSocket
verb HTTPMethod

Public Methods

Method Description
HTTPMessage ( HTTPPartialData HTTPData ) : System

Initializes a new instance of the HTTPMessage class

Method Details

HTTPMessage() public method

Initializes a new instance of the HTTPMessage class
public HTTPMessage ( HTTPPartialData HTTPData ) : System
HTTPData HTTPPartialData
return System

Property Details

body protected property

The body of the HTTP message
protected byte[] body
return byte[]

headers protected property

The headers collection of the message
protected NameValueCollection,System.Collections.Specialized headers
return System.Collections.Specialized.NameValueCollection

host protected property

The host field of the message
protected string host
return string

isError protected property

Indicates whether the message has an error
protected bool isError
return bool

requestStatusLine protected property

The first line in a HTTP message
protected string requestStatusLine
return string

socket protected property

The socket that sent the message
protected ServiceSocket,P2PStateServer socket
return ServiceSocket

verb protected property

The parsed verb line of the HTTP message
protected HTTPMethod,P2PStateServer verb
return HTTPMethod