# Google API Core Client - Class RestServerStreamingCall (1.43.0)

1.43.0 (latest) 1.42.5 1.40.0 1.38.2 1.36.1 1.35.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google API Core Client class RestServerStreamingCall.

Class RestServerStreamingCall implements \\Google\\ApiCore\\ServerStreamingCallInterface.

## Namespace

Google \\ ApiCore \\ Transport \\ Rest

## Methods

### __construct

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `httpHandler` | `callable` |
| `decodeType` | `string` |
| `decoderOptions` | `array` |

### start

Start the call.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `mixed` |
| `headers` | `array` |
| `callOptions` | `array` |

### responses

### getStatus

Return the status of the server stream. If the call has not been started
this will be null.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `stdClass` | The status, with integer $code, string $details, and array $metadata members |

### getMetadata

### getTrailingMetadata

The Rest transport does not support trailing metadata. This is a
passthrough to getMetadata().

### getPeer

### cancel

Cancels the call.

### setCallCredentials

For the REST transport this is a no-op.

{@inheritdoc}

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `call_credentials` | `mixed` |