Skip to main content
Version: v1

IConnection Interface

Base interface for information for each connection made to the Fluid session. This interface can be extended to provide additional information specific to each service.

Signature

export interface IConnection

Properties

Property Type Description
id string A unique ID for the connection. A single user may have multiple connections, each with a different ID.
mode "write" | "read" Whether the connection is in read or read/write mode.

Property Details

id

A unique ID for the connection. A single user may have multiple connections, each with a different ID.

Signature

id: string;

Type: string

mode

Whether the connection is in read or read/write mode.

Signature

mode: "write" | "read";

Type: "write" | "read"