C# Class GetResponse, shared-source-cli-2.0

Sample demonstrates: 1) Using a proxy with a WebRequest. 2) Getting a WebResponse
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Свойство Type Description
AllDone ManualResetEvent

Méthodes publiques

Méthode Description
GetPage ( Uri HttpSite ) : void
GetPageAsync ( Uri HttpSite ) : void
Main ( string args ) : void

Private Methods

Méthode Description
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.

Method Details

GetPage() public static méthode

public static GetPage ( Uri HttpSite ) : void
HttpSite Uri
Résultat void

GetPageAsync() public static méthode

public static GetPageAsync ( Uri HttpSite ) : void
HttpSite Uri
Résultat void

Main() public static méthode

public static Main ( string args ) : void
args string
Résultat void

Property Details

AllDone public_oe static_oe property

public static ManualResetEvent AllDone
Résultat ManualResetEvent