C# Class PeerCastStation.HTTP.HTTPResponse

サーバからのHTTPレスポンス内容を保持するクラスです
Exibir arquivo Open project: kumaryu/peercaststation Class Usage Examples

Public Methods

Method Description
GetBytes ( ) : byte[]
HTTPResponse ( string protocol, HttpStatusCode status ) : System
HTTPResponse ( string protocol, HttpStatusCode status, string>.IDictionary headers ) : System
HTTPResponse ( string protocol, HttpStatusCode status, string>.IDictionary headers, string body ) : System
HTTPResponse ( string protocol, int status, string reason_phrase, string>.IDictionary headers, byte body ) : System

Method Details

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

HTTPResponse() public method

public HTTPResponse ( string protocol, HttpStatusCode status ) : System
protocol string
status HttpStatusCode
return System

HTTPResponse() public method

public HTTPResponse ( string protocol, HttpStatusCode status, string>.IDictionary headers ) : System
protocol string
status HttpStatusCode
headers string>.IDictionary
return System

HTTPResponse() public method

public HTTPResponse ( string protocol, HttpStatusCode status, string>.IDictionary headers, string body ) : System
protocol string
status HttpStatusCode
headers string>.IDictionary
body string
return System

HTTPResponse() public method

public HTTPResponse ( string protocol, int status, string reason_phrase, string>.IDictionary headers, byte body ) : System
protocol string
status int
reason_phrase string
headers string>.IDictionary
body byte
return System