Type alias LiveStateConfig

LiveStateConfig: {
    params?: object;
    socketOptions?: object;
    topic?: string;
    url?: string;
}

Type declaration

  • Optional params?: object

    will be sent as params on channel join

  • Optional socketOptions?: object

    the options passed to the phoenix socket

  • Optional topic?: string

    The topic for the channel

  • Optional url?: string

    The end point to connect to, should be a websocket url (ws or wss)

Generated using TypeDoc