C# 클래스 GetResponse, shared-source-cli-2.0

Sample demonstrates: 1) Using a proxy with a WebRequest. 2) Getting a WebResponse
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllDone ManualResetEvent

공개 메소드들

메소드 설명
GetPage ( Uri HttpSite ) : void
GetPageAsync ( Uri HttpSite ) : void
Main ( string args ) : void

비공개 메소드들

메소드 설명
ReadCallBack ( IAsyncResult InResult ) : void

This is the callback handler for the async stream read. Calls itself under data from stream is all read.

ResponseCallback ( IAsyncResult InResult ) : void

This is the callback handler for the asynch WebRequest.

메소드 상세

GetPage() 공개 정적인 메소드

public static GetPage ( Uri HttpSite ) : void
HttpSite Uri
리턴 void

GetPageAsync() 공개 정적인 메소드

public static GetPageAsync ( Uri HttpSite ) : void
HttpSite Uri
리턴 void

Main() 공개 정적인 메소드

public static Main ( string args ) : void
args string
리턴 void

프로퍼티 상세

AllDone 공개적으로 정적으로 프로퍼티

public static ManualResetEvent AllDone
리턴 ManualResetEvent