A websocket implementation in elisp, for emacs.
Emacs Lisp Python
Latest commit f7d3fb5 Oct 23, 2016 @ahyatt Fix issue with handling multibyte characters.
Added new method `websocket-frame-text' to return the payload of a frame
as utf-8 text.

Added a test to make sure message masked aren't multibyte.

Changed the text in the functional test to multibyte to help test
against these kinds of issues.
Failed to load latest commit information.
README.org add markdown preview mode Jan 10, 2016
testserver.py Have functional test use :host 'local Feb 25, 2016
websocket-test.el Fix issue with handling multibyte characters. Oct 23, 2016
websocket.el Fix issue with handling multibyte characters. Oct 23, 2016



This is a elisp library for websocket clients to talk to websocket servers, and for websocket servers to accept connections from websocket clients. This library is designed to be used by other library writers, to write apps that use websockets, and is not useful by itself.

An example of how to use the library is in the websocket-functional-test.el file.

This library is compatible with emacs 23 and 24, although only emacs 24 support secure websockets.

Version release checklist

Each version that is released should be checked with this checklist:

  • [ ] All ert test passing
  • [ ] Functional test passing on emacs 23 and 24
  • [ ] websocket.el byte compiling cleanly.

Existing clients:

If you are using this module for your own emacs package, please let me know by editing this file, adding your project, and sending a pull request to this repository.