quodolores
Version:
Monorepo for the Firebase JavaScript SDK
16 lines (9 loc) • 818 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [Settings](./firestore_.settings.md) > [experimentalAutoDetectLongPolling](./firestore_.settings.experimentalautodetectlongpolling.md)
## Settings.experimentalAutoDetectLongPolling property
Configures the SDK's underlying transport (WebChannel) to automatically detect if long-polling should be used. This is very similar to `experimentalForceLongPolling`<!-- -->, but only uses long-polling if required.
This setting will likely be enabled by default in future releases and cannot be combined with `experimentalForceLongPolling`<!-- -->.
<b>Signature:</b>
```typescript
experimentalAutoDetectLongPolling?: boolean;
```