C# Class HitProxy.Http.Request

Inheritance: Header
显示文件 Open project: hultqvist/HitProxy Class Usage Examples

Public Properties

Property Type Description
Accept string
AcceptCharset string
AcceptEncoding string
AcceptLanguage string
Authorization string
ContentLength long
Dns DnsLookup
Expect string
From string
Host string
HttpVersion string
IfMatch string
IfModifiedSince string
IfNoneMatch string
IfRange string
IfUnmodifiedSince string
KeepAlive bool
MaxForwards string
Method string
Proxy System.Uri
ProxyAuthorization string
ProxyDns DnsLookup
Range string
Referer string
Start System.DateTime
TE string
Uri System.Uri
UserAgent string

Public Methods

Method Description
Block ( string title, Html htmlMessage ) : void
Dispose ( ) : void
Parse ( string header ) : void
Request ( Stream stream ) : System
ToString ( ) : string

Protected Methods

Method Description
ParseFirstLine ( string firstLine ) : void

Private Methods

Method Description
ParseHeader ( string key, string value ) : void

Method Details

Block() public method

public Block ( string title, Html htmlMessage ) : void
title string
htmlMessage Html
return void

Dispose() public method

public Dispose ( ) : void
return void

Parse() public method

public Parse ( string header ) : void
header string
return void

ParseFirstLine() protected method

protected ParseFirstLine ( string firstLine ) : void
firstLine string
return void

Request() public method

public Request ( Stream stream ) : System
stream Stream
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

Accept public_oe property

public string Accept
return string

AcceptCharset public_oe property

public string AcceptCharset
return string

AcceptEncoding public_oe property

public string AcceptEncoding
return string

AcceptLanguage public_oe property

public string AcceptLanguage
return string

Authorization public_oe property

public string Authorization
return string

ContentLength public_oe property

public long ContentLength
return long

Dns public_oe property

DNS looked up for Uri
public DnsLookup Dns
return DnsLookup

Expect public_oe property

public string Expect
return string

From public_oe property

public string From
return string

Host public_oe property

public string Host
return string

HttpVersion public_oe property

public string HttpVersion
return string

IfMatch public_oe property

public string IfMatch
return string

IfModifiedSince public_oe property

public string IfModifiedSince
return string

IfNoneMatch public_oe property

public string IfNoneMatch
return string

IfRange public_oe property

public string IfRange
return string

IfUnmodifiedSince public_oe property

public string IfUnmodifiedSince
return string

KeepAlive public_oe property

public bool KeepAlive
return bool

MaxForwards public_oe property

public string MaxForwards
return string

Method public_oe property

public string Method
return string

Proxy public_oe property

If set connection is made to this host rather than from Uri. Used to pipe to http proxies
public Uri,System Proxy
return System.Uri

ProxyAuthorization public_oe property

public string ProxyAuthorization
return string

ProxyDns public_oe property

public DnsLookup ProxyDns
return DnsLookup

Range public_oe property

public string Range
return string

Referer public_oe property

public string Referer
return string

Start public_oe property

Start time of request
public DateTime,System Start
return System.DateTime

TE public_oe property

public string TE
return string

Uri public_oe property

public Uri,System Uri
return System.Uri

UserAgent public_oe property

public string UserAgent
return string