d0cf1d2882
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
14 lines
400 B
Modula-2
14 lines
400 B
Modula-2
module git.sr.ht/~emersion/soju
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/emersion/go-sasl v0.0.0-20191210011802-430746ea8b9b
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
|
github.com/mattn/go-sqlite3 v2.0.3+incompatible
|
|
golang.org/x/crypto v0.0.0-20200317142112-1b76d66859c6
|
|
golang.org/x/sys v0.0.0-20200317113312-5766fd39f98d // indirect
|
|
gopkg.in/irc.v3 v3.1.2
|
|
nhooyr.io/websocket v1.8.5
|
|
)
|