James Coglan
|
2f8f281615
|
Correct the draft-76 status line reason phrase.
|
2014-04-17 02:22:19 +01:00 |
|
James Coglan
|
18170c0c61
|
Stop parsing Hybi once we go into a failure state.
|
2013-12-27 18:13:31 +00:00 |
|
James Coglan
|
74c4cc1190
|
Extend max-length checking to draft-{75,76}.
|
2013-12-20 10:27:48 +00:00 |
|
James Coglan
|
fafd949641
|
Extend max-length checking to short (<= 125 bytes) frames and to sequences of continuation frames.
|
2013-12-20 10:23:53 +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
|
eae69314f1
|
Add support for Basic Auth URLs to the client driver.
|
2013-09-09 20:28:29 +01:00 |
|
James Coglan
|
46af51d04e
|
Dup the listener list during EventEmitter#emit so that events unregistered during this call don't cause others to be skipped.
|
2013-08-04 13:57:08 +01:00 |
|
James Coglan
|
cd53761699
|
Fix EventEmitter#listener_count in the case where the event type does not exist, and add EventEmitter#listners.
|
2013-08-04 12:11:37 +01:00 |
|
James Coglan
|
ac3bb51cbd
|
Adjust encoding operations so that encoding is explicit at the call site, and all strings written to I/O are ASCII-8BIT.
|
2013-07-02 09:46:29 +01:00 |
|
James Coglan
|
ee5fe9ec5f
|
Messages should be queued when the client is in the 'pre-connecting' state, as the client is initially.
|
2013-06-06 10:25:10 +01:00 |
|
James Coglan
|
ae84f0eaf7
|
Headers#inspect should call @raw.inspect.
|
2013-05-12 15:12:44 +01:00 |
|
James Coglan
|
8cd6ff1dde
|
Set status and headers as soon as they are known, so they are available in case of an error.
|
2013-05-12 14:49:59 +01:00 |
|
James Coglan
|
be00c65ebd
|
Make Headers#inspect do something useful.
|
2013-05-12 14:01:15 +01:00 |
|
James Coglan
|
cfd2806683
|
Remove an unneeded instance variable.
|
2013-05-12 12:41:51 +01:00 |
|
James Coglan
|
3902b8bc4f
|
Around here we use square brackets for arrays.
|
2013-05-11 23:03:17 +01: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
|
020c094e96
|
Add a driver for handling TCP servers, where we don't want to make the user parse the HTTP request.
|
2013-05-11 19:28:59 +01:00 |
|
James Coglan
|
ba696e8e2c
|
Implement a proper streaming HTTP response parser. This makes the client-side parser more robust and also gives a way to building a driver for TCP servers.
|
2013-05-11 16:56:29 +01:00 |
|
James Coglan
|
93dd655d6d
|
Implement EventEmitter#on as a method that calls #add_listener instead of being an alias, so that overriding the latter affects the former.
|
2013-05-04 18:02:40 +01:00 |
|
James Coglan
|
c9388b7627
|
Add a listener_count method to EventEmitter.
|
2013-05-04 18:00:17 +01:00 |
|
James Coglan
|
be1f1cdc35
|
Rename the module to websocket-driver.
|
2013-05-04 16:43:25 +01:00 |
|