Type alias SocketDefinition

SocketDefinition: {
    connections?: string[];
    data?: Record<string, Serializable>;
    presets: SocketPresets;
}

Type declaration

  • Optional connections?: string[]

    List of named connections. Only relevant for clients.

  • Optional data?: Record<string, Serializable>

    Type defintion for the custom data object.

  • presets: SocketPresets

    Type Definitions for the different communication presets on the Socket.

Generated using TypeDoc