C# Class HttpClient.DotNet

Afficher le fichier Open project: xamarin/mac-samples

Méthodes publiques

Méthode Description
DotNet ( ViewController vc ) : System
HttpSample ( ) : void
HttpSecureSample ( ) : void

Asynchornous HTTPS request to gmail.com

Private Methods

Méthode Description
FeedDownloaded ( IAsyncResult result ) : void
GmailDownloaded ( IAsyncResult result ) : void

In this method viewController get the result from calling https://gmail.com, an HTTPS secure connection, we do not attempt to parse the output, but merely dump it as text

Method Details

DotNet() public méthode

public DotNet ( ViewController vc ) : System
vc ViewController
Résultat System

HttpSample() public méthode

public HttpSample ( ) : void
Résultat void

HttpSecureSample() public méthode

Asynchornous HTTPS request to gmail.com
public HttpSecureSample ( ) : void
Résultat void