Commit Graph

27 Commits

Author SHA1 Message Date
David Fowler 4aa65cf0bf Updated to new System.IO.Pipelines package instead of Channels 2016-11-15 21:46:18 -08:00
Andrew Stanton-Nurse d299cc9186 apply license headers 2016-11-07 12:00:04 -08:00
David Fowler 7db1eb8f25 Add Async suffix to everything 2016-11-02 22:02:29 -07:00
David Fowler 40039afd4f Make a SignalR project and SignalR.Redis project
- Moved RPC into SignalR for now since we don't have a middle layer yet.
- Fixed up name spaces
2016-11-02 01:49:05 -07:00
David Fowler 915ebbda6b Get rid of pub sub abstraction and add redis impl 2016-11-02 01:21:51 -07:00
David Fowler 4221db3890 Some cleanup and error checking
- Dispose hubs after invoke
2016-11-01 23:27:49 -07:00
David Fowler 53858495dc Hubs are more fleshed out (#11)
- `HubEndPoint<T>` : `RpcEndPoint<T>` where T is the Hub type. Optimizing for a single hub per connection here.
- Hubs get OnConnectedAsync and OnDisconnectedAsync methods that are invoked at the right time and with the right scope.
- Introduced HubLifetimeManager<THub> (naming TBD) which is the center of the universe for Hub behaviors.
2016-11-01 23:15:31 -07:00
David Fowler 50e5827414 Add HubCallerContext to Hub
- Flow the connection id and user of the caller to the Hub
2016-10-28 10:25:38 -07:00
David Fowler e59865a11d Small tweaks
- Fixed errros in JS
- Style change in HubEndpoint
2016-10-28 09:41:45 -07:00
moozzyk ffc0a048e3 Addressing review comments 2016-10-27 09:30:20 -07:00
moozzyk ca2a471691 Fixing NRE when a client closes connection 2016-10-27 09:30:20 -07:00
moozzyk fd10deba6c Removing formatters 2016-10-27 09:30:19 -07:00
moozzyk a854b13754 Handling custom protobuf types 2016-10-27 09:30:18 -07:00
moozzyk e1869d29a4 fixing single client invocation 2016-10-27 09:30:17 -07:00
moozzyk a8c831bad6 Very hacky protobuff support 2016-10-27 09:30:06 -07:00
moozzyk fb387ed03d Decoupling formatters from endpoints
Moving formatters out from Sockets
2016-10-25 16:37:23 -07:00
moozzyk 8b905907fe Typed formatters 2016-10-25 16:37:22 -07:00
moozzyk f64c986b5d Adding support to non-Json hub invocation 2016-10-25 16:37:21 -07:00
David Fowler cf68c18dd2 Do async reads 2016-10-09 02:34:42 -07:00
David Fowler 08bba972c1 React to channel API changes 2016-10-07 16:18:23 -07:00
David Fowler 1647432ef6 Added Connection property to EndPoint
- Exposes a list of connections for user code to act on
- The connection list is thread safe (uses a concurrent dictionary under the hood)
- Removed the Bus and just used the connection list in the samples
2016-10-03 22:58:56 -07:00
David Fowler 8e66d63577 Code cleanup (somewhat)
- Transports have be drastically simplified due to channels
- Make sure tasks don't leak
2016-10-03 01:52:18 -07:00
David Fowler 1a5138e972 Added hub sample 2016-10-02 03:23:23 -07:00
David Fowler 58e58b7fb7 Added JSON RPC demo 2016-10-02 01:51:43 -07:00
David Fowler 9ee33bf01f Add transport connection metadata 2016-10-01 23:49:07 -07:00
David Fowler 58d08c07d0 Added connect and disconnect messages 2016-10-01 19:43:34 -07:00
David Fowler c3753c4f0e Renamed the project and split into class library and sample 2016-10-01 00:43:33 -07:00