C# Class P2PStateServer.HTTPMessage

Represents a HTTP message
Afficher le fichier Open project: tenor/p2pStateServer

Protected Properties

Свойство Type Description
body byte[]
headers System.Collections.Specialized.NameValueCollection
host string
isError bool
requestStatusLine string
socket ServiceSocket
verb HTTPMethod

Méthodes publiques

Méthode Description
HTTPMessage ( HTTPPartialData HTTPData ) : System

Initializes a new instance of the HTTPMessage class

Method Details

HTTPMessage() public méthode

Initializes a new instance of the HTTPMessage class
public HTTPMessage ( HTTPPartialData HTTPData ) : System
HTTPData HTTPPartialData
Résultat System

Property Details

body protected_oe property

The body of the HTTP message
protected byte[] body
Résultat byte[]

headers protected_oe property

The headers collection of the message
protected NameValueCollection,System.Collections.Specialized headers
Résultat System.Collections.Specialized.NameValueCollection

host protected_oe property

The host field of the message
protected string host
Résultat string

isError protected_oe property

Indicates whether the message has an error
protected bool isError
Résultat bool

requestStatusLine protected_oe property

The first line in a HTTP message
protected string requestStatusLine
Résultat string

socket protected_oe property

The socket that sent the message
protected ServiceSocket,P2PStateServer socket
Résultat ServiceSocket

verb protected_oe property

The parsed verb line of the HTTP message
protected HTTPMethod,P2PStateServer verb
Résultat HTTPMethod