Skip to main content

Classes & Interfaces

RealtimeConnection

A connection object that allows you to send request payloads to a realtime endpoint.

Methods

send

close

RealtimeConnectionHandler

Options for connecting to the realtime endpoint.

Properties

Methods

onResult

Callback function that is called when a result is received.

onError

Callback function that is called when an error occurs.

RealtimeClient

Methods

connect

Connect to the realtime endpoint. The default implementation uses WebSockets to connect to fal function endpoints that support WSS.Returns: RealtimeConnection<Input>

Functions

createRealtimeClient

Returns: RealtimeClient