RealtimeClientOptions
type RealtimeClientOptions = {
transport?: WebSocketLikeConstructor;
timeout?: number;
heartbeatIntervalMs?: number;
logger?: Function;
encode?: Function;
decode?: Function;
reconnectAfterMs?: Function;
headers?: {};
[key: string]: string;
params?: {};
[key: string]: any;
log_level?:
| "info"
| "debug"
| "warn"
| "error";
fetch?: Fetch;
worker?: boolean;
workerUrl?: string;
accessToken?: () => Promise<string | null>;
};§Type
§
{
[src]transport?: WebSocketLikeConstructor;
timeout?: number;
heartbeatIntervalMs?: number;
logger?: Function;
encode?: Function;
decode?: Function;
reconnectAfterMs?: Function;
headers?: {};
[key: string]: string;
params?: {};
[key: string]: any;
log_level?:
| "info"
| "debug"
| "warn"
| "error";
fetch?: Fetch;
worker?: boolean;
workerUrl?: string;
accessToken?: () => Promise<string | null>;
}