Google API Client Library for .NET  1.10.0
Public Member Functions | Properties | List of all members
Google.Apis.Requests.IClientServiceRequest Interface Reference

A client service request which supports both sync and async execution to get the stream. More...

Inheritance diagram for Google.Apis.Requests.IClientServiceRequest:
Google.Apis.Requests.IClientServiceRequest< TResponse > Google.Apis.Requests.ClientServiceRequest< TResponse >

Public Member Functions

HttpRequestMessage CreateRequest (Nullable< bool > overrideGZipEnabled=null)
 Creates a HTTP request message with all path and query parameters, ETag, etc. More...
 
Task< Stream > ExecuteAsStreamAsync ()
 Executes the request asynchronously and returns the result stream. More...
 
Task< Stream > ExecuteAsStreamAsync (CancellationToken cancellationToken)
 Executes the request asynchronously and returns the result stream. More...
 
Stream ExecuteAsStream ()
 Executes the request and returns the result stream. More...
 

Properties

string MethodName [get]
 Gets the name of the method to which this request belongs. More...
 
string RestPath [get]
 Gets the rest path of this request. More...
 
string HttpMethod [get]
 Gets the HTTP method of this request. More...
 
IDictionary< string, IParameterRequestParameters [get]
 Gets the parameters information for this specific request. More...
 
IClientService Service [get]
 Gets the service which is related to this request. More...
 

Detailed Description

A client service request which supports both sync and async execution to get the stream.

Member Function Documentation

HttpRequestMessage Google.Apis.Requests.IClientServiceRequest.CreateRequest ( Nullable< bool >  overrideGZipEnabled = null)

Creates a HTTP request message with all path and query parameters, ETag, etc.

Parameters
overrideGZipEnabledIf null use the service default GZip behavior. Otherwise indicates if GZip is enabled or disabled.

Implemented in Google.Apis.Requests.ClientServiceRequest< TResponse >.

Stream Google.Apis.Requests.IClientServiceRequest.ExecuteAsStream ( )

Executes the request and returns the result stream.

Implemented in Google.Apis.Requests.ClientServiceRequest< TResponse >.

Task<Stream> Google.Apis.Requests.IClientServiceRequest.ExecuteAsStreamAsync ( )

Executes the request asynchronously and returns the result stream.

Implemented in Google.Apis.Requests.ClientServiceRequest< TResponse >.

Task<Stream> Google.Apis.Requests.IClientServiceRequest.ExecuteAsStreamAsync ( CancellationToken  cancellationToken)

Executes the request asynchronously and returns the result stream.

Parameters
cancellationTokenA cancellation token to cancel operation.

Implemented in Google.Apis.Requests.ClientServiceRequest< TResponse >.

Property Documentation

string Google.Apis.Requests.IClientServiceRequest.HttpMethod
get

Gets the HTTP method of this request.

string Google.Apis.Requests.IClientServiceRequest.MethodName
get

Gets the name of the method to which this request belongs.

IDictionary<string, IParameter> Google.Apis.Requests.IClientServiceRequest.RequestParameters
get

Gets the parameters information for this specific request.

string Google.Apis.Requests.IClientServiceRequest.RestPath
get

Gets the rest path of this request.

IClientService Google.Apis.Requests.IClientServiceRequest.Service
get

Gets the service which is related to this request.


The documentation for this interface was generated from the following file: