C# Class PhoenixSharp.Requester.GatewayWebRequester

Inheritance: IWebRequester
Mostrar archivo Open project: Azure/hdinsight-phoenix-sharp

Public Methods

Method Description
GatewayWebRequester ( ClusterCredentials credentials, string contentType = "application/x-google-protobuf" ) : System

Initializes a new instance of the GatewayWebRequester class.

IssueWebRequestAsync ( string method, Stream input, RequestOptions options ) : Task

Issues the web request asynchronous.

Private Methods

Method Description
InitCache ( ) : void

Method Details

GatewayWebRequester() public method

Initializes a new instance of the GatewayWebRequester class.
public GatewayWebRequester ( ClusterCredentials credentials, string contentType = "application/x-google-protobuf" ) : System
credentials ClusterCredentials The credentials.
contentType string Type of the content.
return System

IssueWebRequestAsync() public method

Issues the web request asynchronous.
public IssueWebRequestAsync ( string method, Stream input, RequestOptions options ) : Task
method string The method.
input Stream The input.
options PhoenixSharp.Interfaces.RequestOptions request options
return Task