Google API Client Library for .NET  1.10.0
Public Member Functions | List of all members
Google.Apis.Http.MaxUrlLengthInterceptor Class Reference

Intercepts HTTP GET requests with a URLs longer than a specified maximum number of characters. The interceptor will change such requests as follows:

More...

Inheritance diagram for Google.Apis.Http.MaxUrlLengthInterceptor:
Google.Apis.Http.IHttpExecuteInterceptor

Public Member Functions

 MaxUrlLengthInterceptor (uint maxUrlLength)
 
Task InterceptAsync (HttpRequestMessage request, CancellationToken cancellationToken)
 

Detailed Description

Intercepts HTTP GET requests with a URLs longer than a specified maximum number of characters. The interceptor will change such requests as follows:

Member Function Documentation

Task Google.Apis.Http.MaxUrlLengthInterceptor.InterceptAsync ( HttpRequestMessage  request,
CancellationToken  cancellationToken 
)
inline

Invoked before the request is being sent.

Parameters
requestThe HTTP request message.
cancellationTokenCancellation token to cancel the operation.

Implements Google.Apis.Http.IHttpExecuteInterceptor.


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