C# Class Zoompf.SPDYAnalysis.SimpleResponse

Very simple web response
显示文件 Open project: zoompf/SPDYCheck Class Usage Examples

Public Properties

Property Type Description
BodyBytes byte[]
Headers System.Collections.Specialized.NameValueCollection
ResponseURL System.Uri
statusCode int

Public Methods

Method Description
GetHeaderValue ( String header ) : String
SimpleResponse ( ) : System
SimpleResponse ( Uri finalUrl ) : System
setHeaders ( NameValueCollection headers ) : void

Normalizes the header names

Method Details

GetHeaderValue() public method

public GetHeaderValue ( String header ) : String
header String
return String

SimpleResponse() public method

public SimpleResponse ( ) : System
return System

SimpleResponse() public method

public SimpleResponse ( Uri finalUrl ) : System
finalUrl System.Uri
return System

setHeaders() public method

Normalizes the header names
public setHeaders ( NameValueCollection headers ) : void
headers System.Collections.Specialized.NameValueCollection
return void

Property Details

BodyBytes public_oe property

public byte[] BodyBytes
return byte[]

Headers public_oe property

public NameValueCollection,System.Collections.Specialized Headers
return System.Collections.Specialized.NameValueCollection

ResponseURL public_oe property

public Uri,System ResponseURL
return System.Uri

statusCode public_oe property

public int statusCode
return int