C# 클래스 Client.Http.HttpRequest

Http helper class.
상속: IDisposable
파일 보기 프로젝트 열기: MSOpenTech/HTTP-SPEED-PLUS-MOBILITY 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose this instance.

GetFile ( string uri ) : Client.HttpBenchmark.HttpTrafficLog

Get files via http request. Public interface to call for top file of the tree

HttpRequest ( int serverLatency, bool useHttp2Handshake ) : System

Initializes a new instance of the HttpRequest class.

비공개 메소드들

메소드 설명
AddNameToDownloadList ( string uri ) : void

Add name to list of files to download

AuthenticateAsClient ( Uri remoteEndpoint, SslStream sslStream ) : bool

Authenticate client.

Get ( Uri uri ) : byte[]

Get files via URI.

GetHeaders ( byte content ) : byte[]

Get headers.

GetNameToDownload ( ) : string

Get next name to download

GetStatus ( byte headers ) : int

Get status from headers.

HttpLoaderProc ( object stateInfo ) : void

Thread proc for file download

NameListMonitorProc ( object stateInfo ) : void

Thread proc for name list monitor

PrivateGetFile ( byte content, string type, Uri requestUri, string uri ) : void

Get files via http request.

메소드 상세

Dispose() 공개 메소드

Dispose this instance.
public Dispose ( ) : void
리턴 void

GetFile() 공개 메소드

Get files via http request. Public interface to call for top file of the tree
public GetFile ( string uri ) : Client.HttpBenchmark.HttpTrafficLog
uri string The address site.
리턴 Client.HttpBenchmark.HttpTrafficLog

HttpRequest() 공개 메소드

Initializes a new instance of the HttpRequest class.
public HttpRequest ( int serverLatency, bool useHttp2Handshake ) : System
serverLatency int Server latency.
useHttp2Handshake bool
리턴 System