CollabReferenceCollab clientInterfaces
LongPollListenerOptions
Interface: LongPollListenerOptions
Defined in: packages/collab-client/src/index.ts:122
Properties
fetch?
optional fetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response>;Defined in: packages/collab-client/src/index.ts:132
The fetch method to use when making requests. Defaults to the global fetch method.
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
headers?
optional headers?: HeadersInit;Defined in: packages/collab-client/src/index.ts:128
Any headers that need to be included in requests to your long polling endpoint. Defaults to an empty object.