Module Description

If you'd like clients to connect over Websocket connections, you must enable this module in the listen section of ejabberd.cfg. WebSockets are enabled by default.

Options

None.

Example Configuration

In the listener section:

{listen,
 [
  { 5285, ejabberd_cowboy, [
      {num_acceptors, 10},
      {max_connections, 1024},
      {modules, [
          {"_", "/ws-xmpp", mod_websockets, []}
      ]}
  ]}