C# Class PSXDH.HttpsHelp.HttpClient

Inheritance: PSXDH.ProxyHelp.Client
Exibir arquivo Open project: KOPElan/PSX-Download-Helper Class Usage Examples

Private Properties

Property Type Description
BuildResponse string
IsValidQuery bool
OnConnected void
OnErrorSent void
OnLocalFileSent void
OnOkSent void
OnQuerySent void
OnReceiveQuery void
ParseQuery string>.Dictionary
QueryHandle void
RebuildQuery string
SendBadRequest void
SendLocalFile void

Public Methods

Method Description
HttpClient ( Socket clientSocket, DestroyDelegate destroyer, UpdataUrlLog updataUrlLog ) : System
StartHandshake ( ) : void
ToString ( ) : string
ToString ( bool withUrl ) : string

Private Methods

Method Description
BuildResponse ( string requestRange, string connection, long &startRange ) : string

本地回传答复请求

IsValidQuery ( string query ) : bool
OnConnected ( IAsyncResult ar ) : void
OnErrorSent ( IAsyncResult ar ) : void
OnLocalFileSent ( IAsyncResult ar ) : void
OnOkSent ( IAsyncResult ar ) : void
OnQuerySent ( IAsyncResult ar ) : void
OnReceiveQuery ( IAsyncResult ar ) : void
ParseQuery ( string query ) : string>.Dictionary
QueryHandle ( string query ) : void
RebuildQuery ( ) : string
SendBadRequest ( ) : void
SendLocalFile ( string localFile, string requestRange, string connection ) : void

Method Details

HttpClient() public method

public HttpClient ( Socket clientSocket, DestroyDelegate destroyer, UpdataUrlLog updataUrlLog ) : System
clientSocket Socket
destroyer DestroyDelegate
updataUrlLog UpdataUrlLog
return System

StartHandshake() public method

public StartHandshake ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( bool withUrl ) : string
withUrl bool
return string