Delegate BatchRequest.OnResponse<TResponse> (1.60.0)

public delegate void BatchRequest.OnResponse<in TResponse>(TResponse content, RequestError error, int index, HttpResponseMessage message) where TResponse : class

A concrete type callback for an individual response.

Namespace

GoogleApisRequests

Assembly

Google.Apis.dll

Parameters

NameDescription
contentTResponse

The parsed content response or null if the request failed or the response could not be parsed using the associated Serializer.

errorRequestError

Error or null if the request succeeded and response content was parsed succesfully.

indexint

The request index.

messageHttpResponseMessage

The HTTP individual response.

Type Parameter

NameDescription
TResponse

The response type.

Extension Method