David Heinemeier Hansson
|
fdd5c925f5
|
Move the subscription factory method from the consumer to the subscriptions collection
|
2015-07-08 11:06:07 +02:00 |
|
David Heinemeier Hansson
|
7c6a7f28eb
|
Rename SubscriptionManager/Subscriber -> Subscriptions
This matches the server-side setup and is more consistent.
|
2015-07-08 11:00:24 +02:00 |
|
Javan Makhmali
|
026fd5b946
|
Add URL to inspector
|
2015-07-07 09:51:40 -04:00 |
|
Javan Makhmali
|
239d79e9eb
|
Add helper to inspect current state
|
2015-07-07 09:43:22 -04:00 |
|
Javan Makhmali
|
ee6b6cabfb
|
Rework event handlers
|
2015-07-07 08:57:57 -04:00 |
|
Javan Makhmali
|
5da432c45b
|
websocket -> webSocket
|
2015-07-06 21:43:50 -04:00 |
|
Javan Makhmali
|
f2542cd417
|
Guard against opening multiple WebSocket connections
|
2015-07-06 21:42:49 -04:00 |
|
Javan Makhmali
|
336d12f97a
|
Rework connection monitor
|
2015-06-27 16:17:06 -04:00 |
|
Javan Makhmali
|
d2c613cd8f
|
Wait for connection to close before reopening it
|
2015-06-27 16:17:06 -04:00 |
|
Javan Makhmali
|
5541b8fcaf
|
Update connection API with #open, #close, #reopen
|
2015-06-26 10:24:29 -04:00 |
|
Javan Makhmali
|
315c0fbf19
|
Fix misspelled variable
|
2015-06-25 18:46:33 -04:00 |
|
Javan Makhmali
|
84ed139700
|
Cable.Consumer
|
2015-06-25 16:24:58 -04:00 |
|
Javan Makhmali
|
fa0281aeb1
|
Cable.Channel -> Cable.Subscription
|
2015-06-25 16:12:26 -04:00 |
|
Javan Makhmali
|
0e5c9e741a
|
Manage an array of subscribers since there may be more than one subscription to a channel
|
2015-06-25 16:08:44 -04:00 |
|
Javan Makhmali
|
3509a1226c
|
event -> callbackName
|
2015-06-25 15:22:39 -04:00 |
|
Javan Makhmali
|
288d289b72
|
Add "initialized" notification
|
2015-06-25 14:07:14 -04:00 |
|
Javan Makhmali
|
c846f43d46
|
Extract connection monitoring and rewrite as a subscriber
|
2015-06-25 13:57:40 -04:00 |
|
Javan Makhmali
|
d9d7371c56
|
Assume subscribers have an identifier
|
2015-06-25 11:36:40 -04:00 |
|
Javan Makhmali
|
53d0b22aee
|
Switch back to original API and callback naming
|
2015-06-25 10:32:36 -04:00 |
|
Javan Makhmali
|
c7f00661bf
|
Move connection and subscriber code into their own classes
|
2015-06-25 10:21:53 -04:00 |
|