33 Commits

Author SHA1 Message Date
James Coglan 61572944fb Update the documentation for representation of binary messages 2025-05-24 13:19:06 +01:00
James Coglan b10eb2bf3e Switch from Travis CI to GitHub Actions 2021-05-18 00:40:42 +01:00
Matti Paksula 4228ca5781 README: example of http response
closes https://github.com/faye/websocket-driver-ruby/issues/74
2020-06-14 10:21:23 +03:00
James Coglan e568366f82 Formatting change: {...} should have spaces inside the braces 2019-06-11 16:12:52 +01:00
James Coglan a6bb6a69a9 Change markdown formatting of docs. 2019-05-29 15:34:34 +01:00
James Coglan 06f215611e Flesh out the docs for the new ping/pong events. 2017-08-02 21:55:14 +01:00
Matthew O'Riordan dacae81312 Update docs to reflect ping & pong events 2017-05-16 15:01:27 +01:00
James Coglan 930bbe2020 Move the license text into a separate file. 2016-07-19 20:57:38 +01:00
James Coglan 673d11e436 Bump version to 0.6.4. 2016-05-20 08:46:06 +01:00
James Coglan d461b0def5 Use symbols for events in the docs. 2015-07-10 21:27:01 +01:00
James Coglan 767f4648da Document that on() *adds* a callback, rather than *setting* one, i.e. it does not remove any prior callbacks. 2015-07-04 19:31:58 +01:00
James Coglan d69cdaba97 Allow event listeners to be passed as normal rather than block arguments.
This discourages the inappropriate use of 'return' inside event
listeners. Also, we return the listener, so that the caller has a
reference to it in case they do pass a block.
2015-07-04 19:28:49 +01:00
James Coglan 7af53b5be0 Add a pong() command for sending unsolicited pong frames. 2015-07-04 18:49:46 +01:00
James Coglan 2bed2b6be5 List Sec-WebSocket-Extensions in the set of expected headers. 2015-04-09 18:29:35 +01:00
James Coglan 536e353bd4 Replace 'iff' with 'if and only if'. 2015-03-28 19:45:00 +00:00
James Coglan fcef3f6a31 Bump version to 0.5.2. 2015-02-19 22:43:31 +00:00
James Coglan f02be94880 Bump version to 0.5.0 and document how to add extensions. 2014-12-13 13:14:11 +00:00
James Coglan ec6803e19c Remove the start_tls protocol and replace it by the proxy emitting a 'connect' event. 2014-11-08 16:45:06 +00:00
James Coglan 5078cceb60 Document the start_tls method that the proxy driver calls for wss: endpoints. 2014-11-06 23:44:09 +00:00
James Coglan 0a200bbdef Refactor proxy support into a separate class that represents the proxy connection as a real object. 2014-11-06 23:37:13 +00:00
James Coglan 8392f77a58 Add support for connecting via HTTP proxies. 2014-10-27 21:49:40 +00:00
James Coglan 5393f89526 Use the SVG build status icon from Travis. 2014-09-07 21:07:02 +01:00
James Coglan 1b3f32bbc7 Trailing blank lines are bad. 2014-05-17 00:34:48 +01:00
James Coglan 854d185d5d Bump version to 0.3.3. 2014-04-24 23:37:11 +01:00
James Coglan 45fbc9e2e9 Document the new lower frame size limit. 2013-12-28 16:57:15 +00:00
James Coglan e3587fcbb1 Add a max_length option to the Hybi/Client class. 2013-12-02 21:55:43 +00:00
James Coglan 074a8a2f16 Add #status and #headers methods to the Client driver. 2013-05-11 20:42:06 +01:00
James Coglan 5a7fadbcbe Add API for setting custom handshake headers. 2013-05-11 20:28:36 +01:00
James Coglan 2aac685c24 One more typo. 2013-05-11 19:47:27 +01:00
James Coglan 33f6c4c52b Fix some typos in the previous commit. 2013-05-11 19:43:47 +01:00
James Coglan 216914b85c Update the readme for TCP-server drivers. 2013-05-11 19:43:04 +01:00
James Coglan be1f1cdc35 Rename the module to websocket-driver. 2013-05-04 16:43:25 +01:00
James Coglan e274a521ef Convert doc files to Markdown. 2013-05-04 13:55:37 +01:00