# Google API Core Client - Class GrpcFallbackTransport (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 GrpcFallbackTransport.

A transport that sends protobuf over HTTP 1.1 that can be used when full gRPC support
is not available.

## Namespace

Google \\ ApiCore \\ Transport

## Methods

### __construct

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `baseUri` | `string` |
| `httpHandler` | `callable` A handler used to deliver PSR-7 requests. |

### 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` |

### static::build

Builds a GrpcFallbackTransport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `apiEndpoint` | `string` The address of the API remote host, for example "example.googleapis.com". |
| `config` | `array` Config options used to construct the grpc-fallback transport. |
| `↳ httpHandler` | `callable` A handler used to deliver PSR-7 requests. |

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