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 |
|