Search.../

wix-realtime

The wix-realtime module contains functionality for publishing messages on channels that site visitors can subscribe to. Learn more.

Guides

Additional information about this section

Functions

Perform actions on an object

  • onConnected( )

    Adds an event handler that runs when a connection or reconnection occurs.

  • onDisconnected( )

    Adds an event handler that runs when a disconnection occurs.

  • onError( )

    Adds an event handler that runs when an error occurs.

  • subscribe( )

    Subscribes to a channel or channel resource.

  • unsubscribe( )

    Unsubscribes from a channel or channel resource.