# FallbackConnection

URL: https://www.caprid.com/docs/reference/typescript/caprid/relay-websocket/interfaces/fallbackconnection/

Defined in: [relay-sdks/ts/packages/relay-websocket/src/index.ts:72](https://github.com/caprids/relay-sdks/blob/main/ts/packages/relay-websocket/src/index.ts#L72)

What one call of a [FallbackTransportFactory](https://www.caprid.com/docs/reference/typescript/caprid/relay-websocket/type-aliases/fallbacktransportfactory/) returns.

## Properties

### framing

```ts
readonly framing: FallbackCarrier;
```

Defined in: [relay-sdks/ts/packages/relay-websocket/src/index.ts:81](https://github.com/caprids/relay-sdks/blob/main/ts/packages/relay-websocket/src/index.ts#L81)

`'webtransport'` while the dials are in progress or once WebTransport won, `'websocket'` once the WebSocket won.
Both carry the path and token in the URL, so the SDK's SETUP is the same either way.

***

### ready

```ts
ready: Promise<void>;
```

Defined in: [relay-sdks/ts/packages/relay-websocket/src/index.ts:76](https://github.com/caprids/relay-sdks/blob/main/ts/packages/relay-websocket/src/index.ts#L76)

Resolves once one of the dials is ready and its peer selected a protocol.

***

### transport

```ts
transport: FallbackTransport;
```

Defined in: [relay-sdks/ts/packages/relay-websocket/src/index.ts:74](https://github.com/caprids/relay-sdks/blob/main/ts/packages/relay-websocket/src/index.ts#L74)

The transport the MOQT session runs on, whichever dial won.
