Changeset 323 in code for trunk/doc/soju.1.scd


Ignore:
Timestamp:
Jun 7, 2020, 12:13:46 PM (5 years ago)
Author:
contact
Message:

Add support for WebSocket connections

WebSocket connections allow web-based clients to connect to IRC. This
commit implements the WebSocket sub-protocol as specified by the pending
IRCv3 proposal [1].

WebSocket listeners can now be set up via a "wss" protocol in the
listen directive. The new http-origin directive allows the CORS
allowed origins to be configured.

[1]: https://github.com/ircv3/ircv3-specifications/pull/342

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/soju.1.scd

    r321 r323  
    7373        - _irc+insecure://[host][:port]_ listens with plain-text over TCP (default
    7474          port if omitted: 6667)
     75        - _wss://[host][:port]_ listens for WebSocket connections over TLS (default
     76          port: 443)
     77        - _ws+insecure://[host][:port]_ listens for plain-text WebSocket
     78          connections (default port: 80)
    7579
    7680        If the scheme is omitted, "ircs" is assumed. If multiple *listen*
     
    9195        Path to the bouncer logs root directory, or empty to disable logging. By
    9296        default, logging is disabled.
     97
     98*http-origin* <patterns...>
     99        List of allowed HTTP origins for WebSocket listeners. The parameters are
     100        interpreted as shell patterns, see *glob*(7).
    93101
    94102# IRC SERVICE
Note: See TracChangeset for help on using the changeset viewer.