Packages > @fluidframework/protocol-definitions >

ConnectionMode

A client’s connection mode - either view-only (“read”) or allowing edits (“write”).

Signature

export type ConnectionMode = "write" | "read";

Remarks

Note: a user’s connection mode is dependent on their permissions. E.g. a user with read-only permissions will not be allowed a “write” connection mode.