Delegate BatchRequest.OnResponse<TResponse> (1.55.0)

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

A concrete type callback for an individual response.

Namespace

Google.Apis.Requests

Assembly

Google.Apis.dll

Parameters

NameDescription
contentTResponse

The content response or null if the request failed.

errorRequestError

Error or null if the request succeeded.

indexInt32

The request index.

messageHttpResponseMessage

The HTTP individual response.

Type Parameter

NameDescription
TResponse

The response type.

Extension Method