# &lt;GCKRequestDelegate&gt; Protocol

[Instance Methods](https://developers.google.com/cast/v3/reference/ios/protocol_g_c_k_request_delegate-p#pub-methods) \<GCKRequestDelegate\> Protocol Reference

## Overview

The [GCKRequest](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_request "An object for tracking an asynchronous request. ") delegate protocol.

Since
:   3.0

Inherits \<NSObjectNSObject\>.

|---|---|
| ## Instance Method Summary ||
| (void) | - [requestDidComplete:](https://developers.google.com/cast/v3/reference/ios/protocol_g_c_k_request_delegate-p#a9c6e7715c587fdd087739d610bf8ce71) |
|   | Called when the request has successfully completed. [More...](https://developers.google.com/cast/v3/reference/ios/protocol_g_c_k_request_delegate-p#a9c6e7715c587fdd087739d610bf8ce71) |
|   ||
| (void) | - [request:didFailWithError:](https://developers.google.com/cast/v3/reference/ios/protocol_g_c_k_request_delegate-p#a1b698b8223fd7101ca187309f755cf7b) |
|   | Called when the request has failed. [More...](https://developers.google.com/cast/v3/reference/ios/protocol_g_c_k_request_delegate-p#a1b698b8223fd7101ca187309f755cf7b) |
|   ||
| (void) | - [request:didAbortWithReason:](https://developers.google.com/cast/v3/reference/ios/protocol_g_c_k_request_delegate-p#a97196a5186c90fb0f825c3afbfbf663b) |
|   | Called when the request is no longer being tracked. [More...](https://developers.google.com/cast/v3/reference/ios/protocol_g_c_k_request_delegate-p#a97196a5186c90fb0f825c3afbfbf663b) |
|   ||

## Method Detail

|---|---|
| |---|---|---|---|---| | - (void) requestDidComplete: |   | ([GCKRequest](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_request) \*) | *request* |   | | optional |

Called when the request has successfully completed.

Parameters
:

    |---|---|
    | request | The request. |


|---|---|
| |---|---|---|---| | - (void) request: |   | ([GCKRequest](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_request) \*) | *request* | | didFailWithError: |   | ([GCKError](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_error) \*) | *error* | |   |   |   |   | | optional |

Called when the request has failed.

Parameters
:

    |---|---|
    | request | The request. |
    | error | The error describing the failure. |


|---|---|
| |---|---|---|---| | - (void) request: |   | ([GCKRequest](https://developers.google.com/cast/v3/reference/ios/interface_g_c_k_request) \*) | *request* | | didAbortWithReason: |   | (GCKRequestAbortReason) | *abortReason* | |   |   |   |   | | optional |

Called when the request is no longer being tracked.

It does not guarantee that the request has succeed or failed.

Parameters
:

    |---|---|
    | request | The request. |
    | abortReason | The reason why the request is no longer being tracked. |