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
moozzyk
a8c831bad6
Very hacky protobuff support
2016-10-27 09:30:06 -07:00
moozzyk
f64c986b5d
Adding support to non-Json hub invocation
2016-10-25 16:37:21 -07:00
David Fowler
3032909f3c
Added tests
2016-10-04 01:32:30 -07:00
David Fowler
e5e8d1bee3
Decouple the dispatcher from routing for easier testing
2016-10-04 00:12:07 -07:00
David Fowler
411f44f263
Reduce code duplication
2016-10-03 23:52:51 -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
moozzyk
4cd4ddfad5
More structed connection metadata
2016-10-03 14:03:10 -07:00
David Fowler
2b7a396670
When EndPoint ends, the connection ends.
2016-10-03 02:41:28 -07:00
David Fowler
99d7aea78c
Add User to Connection
2016-10-03 02:08:31 -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
9ee33bf01f
Add transport connection metadata
2016-10-01 23:49:07 -07:00
David Fowler
1ad1120c41
Update the LastActive for reserved connections
2016-10-01 15:59:20 -07:00
David Fowler
2a369f40f6
Small fixes
...
- Pass the Connection to each IHttpTransport
- FlushAsync after writing for WebListener
- Add metadata to Connection
- Added WebListener dependency
2016-10-01 11:52:50 -07:00
David Fowler
5baaaac22d
Added comments and more tiny code clean up
2016-10-01 03:22:09 -07:00
David Fowler
813222b406
More cleanup + TaskQueue
...
- Introduced the TaskQueue
- Added IHttpTransport so abort callbacks can happen outside of the
transport implementation
2016-10-01 03:03:20 -07:00
David Fowler
c3753c4f0e
Renamed the project and split into class library and sample
2016-10-01 00:43:33 -07:00