C# Class HttpClient.DotNet

Mostra file Open project: xamarin/mac-samples

Public Methods

Method Description
DotNet ( ViewController vc ) : System
HttpSample ( ) : void
HttpSecureSample ( ) : void

Asynchornous HTTPS request to gmail.com

Private Methods

Method 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 method

public DotNet ( ViewController vc ) : System
vc ViewController
return System

HttpSample() public method

public HttpSample ( ) : void
return void

HttpSecureSample() public method

Asynchornous HTTPS request to gmail.com
public HttpSecureSample ( ) : void
return void