David Fowler
6b3d9bd96d
Added group messaging to the sample
...
- Clean up some boiler plate
- Renamed Add/Remove on GroupManager to AddAsync and RemoveAsync
2016-11-04 01:28:49 -07:00
David Fowler
6ccc8d6195
Remove params from HubLifetimeManager
2016-11-04 00:37:04 -07:00
David Fowler
23eb8aa7bd
More redis tweaks
...
- Implemented the task queue
- Only subscribe to user channel if authenticated
2016-11-03 21:07:04 -07:00
BrennanConroy
ed41672381
Implemented better Redis scaleout
...
- Less subscriptions and connections to RedisHubLifetimeManager
2016-11-03 19:03:44 -07:00
BrennanConroy
dbd738726a
Remove unused usings
2016-11-03 15:00:13 -07:00
BrennanConroy
60bc57fb8d
Fix redis subscriptions and missing awaits
2016-11-03 14:58:27 -07:00
David Fowler
b114e4e9fd
Get rid of RpcEndpoint and samples
...
- Merge RpcEndpoint and HubEndPoint, still need to move discovery of hub
methods to another class.
2016-11-03 00:17:01 -07:00
David Fowler
f51fcadeb1
Dispose the ConnectionManager on application shutdown
2016-11-02 23:14:12 -07:00
Pawel Kadluczka
8d03c014fb
Fixing invocation results for tasks whose result is `VoidTaskResult`
2016-11-02 22:52:52 -07:00
David Fowler
5f23231d9b
Make ConnectionMetadata object,object dictionary
2016-11-02 22:30:16 -07:00
David Fowler
0e690d636f
Remove casts where possible
2016-11-02 22:17:03 -07:00
David Fowler
7db1eb8f25
Add Async suffix to everything
2016-11-02 22:02:29 -07:00
David Fowler
a175609bb1
Start transport before endpoint
2016-11-02 21:28:05 -07:00
David Fowler
b6f15338eb
Cleanup and shuffling things
...
- Moved the InvocationAdapterRegistry registration to SignalROptions
- Moved the JsonNetInvocationAdapter to Microsoft.AspNetCore.SignalR
- Remove dead JavaScript code
2016-11-02 20:54:58 -07:00
David Fowler
8dd61250f4
Fix the projects
...
- Fixed dependencies
- Fixed NS dependency
2016-11-02 18:50:57 -07:00
BrennanConroy
019bb460ec
Clean up and TS client
2016-11-02 18:35:12 -07:00
BrennanConroy
5434d437e9
Added ChatSample
2016-11-02 17:33:48 -07:00
moozzyk
3065c8db93
minor fixes
2016-11-02 17:09:11 -07:00
moozzyk
2bbca5e7fe
Adding error handling
...
Fixing SSE transport on the server
2016-11-02 17:09:11 -07:00
moozzyk
61c527f23c
Fixing LongPolling transport
2016-11-02 17:09:11 -07:00
moozzyk
ce17f0d19a
Adding transport selection
...
Fixing serverSentEvents transport
Updating the client 'app'
2016-11-02 17:09:11 -07:00
moozzyk
752f329036
WIP:
...
- separating Connection from RpcConnection
- fixing WebSockets transport to work after rewrite
- clean up
2016-11-02 17:09:11 -07:00
moozzyk
466c8d9db9
Adding ServerSentEvents
2016-11-02 17:09:11 -07:00
moozzyk
181053e876
Adding longpolling
2016-11-02 17:09:11 -07:00
moozzyk
29d859b383
WIP
2016-11-02 17:09:11 -07:00
Pawel Kadluczka
5663198733
WIP
2016-11-02 17:09:11 -07:00
moozzyk
6859d33536
ts-client WebSockets + JSON
2016-11-02 17:09:11 -07:00
moozzyk
5e3be6e212
Awaiting tasks returned from hubs and getting the actual result
2016-11-02 17:03:30 -07:00
Andrew Stanton-Nurse
b2108a6d65
major updates to WebSockets implementation
...
* Ping/Pong handling
* UTF-8 validation
* Customization through WebSocketOptions
* Closes connection on Protocol Errors
* Autobahn Test Suite integrated
2016-11-02 11:27:56 -07:00
David Fowler
0f863be588
Renamed JsonInvocationAdapter to JsonNetInvocationAdapter
2016-11-02 08:54:42 -07:00
David Fowler
9e7513a7bd
Added UseSignalR
2016-11-02 03:20:44 -07:00
David Fowler
6af6db67f4
More refactoring
...
- Moved the IHubConnectionContext implementation out of HubEndPoint
- Added IHubContext to allow getting at the publish side of things without
being in side the hub. The HubEndPoint now injects this as well.
- HubContext has the implementation of the IHubConnectionContext
- Moved ISignalRBuilder and SignalRBuilder into their own files
2016-11-02 03:03:35 -07:00
David Fowler
f41bcb9b2d
Subscribe in parallel
2016-11-02 02:46:52 -07:00
David Fowler
377711f68c
Changes to redis and groups
...
- Made group add and removal async as they may be backed by a network
connection
- Added ISignalRBuilder and a pattern similar to mvc for doing extension methods off
AddSignalR
- Added RedisOptions
2016-11-02 02:29:04 -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
David Fowler
caad670cde
Restore works again
2016-10-28 09:08:06 -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