# Google API Core Client - Class TransportInterface (1.43.0)

1.43.0 (latest) 1.42.5 1.40.0 1.38.2 1.36.1 1.35.1 Reference documentation and code samples for the Google API Core Client class TransportInterface.

Classes which implement this interface in this package:

- [GrpcFallbackTransport](https://docs.cloud.google.com/php/docs/reference/gax/latest/Transport.GrpcFallbackTransport)
- [GrpcTransport](https://docs.cloud.google.com/php/docs/reference/gax/latest/Transport.GrpcTransport)
- [RestTransport](https://docs.cloud.google.com/php/docs/reference/gax/latest/Transport.RestTransport)

## Namespace

Google \\ ApiCore \\ Transport

## Methods

### startBidiStreamingCall

Starts a bidi streaming call.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `call` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/Call` |
| `options` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/BidiStream` |   |

### startClientStreamingCall

Starts a client streaming call.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `call` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/Call` |
| `options` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/ClientStream` |   |

### startServerStreamingCall

Starts a server streaming call.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `call` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/Call` |
| `options` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/ServerStream` |   |

### startUnaryCall

Returns a promise used to execute network requests.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `call` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/Call` |
| `options` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html` |   |

### close

Closes the connection, if one exists.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `void` |   |