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
5d41b218f0
Fixing line protocol
2016-10-27 09:30:15 -07:00
moozzyk
a8c831bad6
Very hacky protobuff support
2016-10-27 09:30:06 -07:00
moozzyk
e893f0c6d7
Fixing after rebase
2016-10-25 16:37:24 -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
DamianEdwards
d0196914ff
JS code style fixes
2016-10-05 14:50:50 -07:00
DamianEdwards
c641a43f38
Fixing @davidfowl's shitty web code.
2016-10-05 10:27:48 -07:00
David Fowler
3f5e340b9f
Committed launch settings
2016-10-04 17:28:21 -07:00
David Fowler
e5e8d1bee3
Decouple the dispatcher from routing for easier testing
2016-10-04 00:12:07 -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
613ac2d6c3
Fix long polling
2016-10-01 15:48:15 -07:00
David Fowler
d646e3666f
Made a thin websocket like wrapper around the client API
2016-10-01 14:27:50 -07:00
David Fowler
540784e525
Added .NET WebSocket sample
2016-10-01 13:59:35 -07:00
David Fowler
5c9729fe4f
Move sse to sse specific page
2016-10-01 12:47:35 -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
9f5ef70164
Added support for websockets
...
- Upgraded to ASP.NET Core 1.1 preview
2016-10-01 10:26:49 -07:00
David Fowler
c3753c4f0e
Renamed the project and split into class library and sample
2016-10-01 00:43:33 -07:00