Pawel Kadluczka
5ad5f36f88
Changing length prefixing to separator for JSON C#
2017-08-18 09:50:45 -07:00
BrennanConroy
b12451025f
Exit OnConnected early if Negotiate fails ( #733 )
2017-08-17 23:34:45 -07:00
Pawel Kadluczka
a359da0c44
Length prefixing base64 encoded messages
...
... in preparation for pipeline conversion
2017-08-17 09:58:16 -07:00
Pawel Kadluczka
5b4cc95583
Removing unnecessary dependency
2017-08-17 09:30:57 -07:00
Pawel Kadluczka
9eabce1b02
Enabling tests which would have prevented a bug
2017-08-11 11:22:45 -07:00
BrennanConroy
e8a673248a
Conditional WebSockets testing ( #714 )
2017-08-11 10:46:50 -07:00
Pawel Kadluczka
29f9c54b86
Updating xUnit version
2017-08-10 19:00:31 -07:00
BrennanConroy
b393200fd3
SSE StopAsync should ignore exception (handled elsewhere) ( #708 )
2017-08-10 14:18:34 -07:00
Mikael Mengistu
8cda36157f
Change Read to ReadAsync ( #702 )
2017-08-09 16:35:44 -07:00
Pawel Kadluczka
e2cec0b305
Adding MsgPack hub protocol to TS client
2017-08-09 09:12:11 -07:00
moozzyk
e089852d59
Turning messages to arrays
...
Makes it much easier to parse in JavaScript (also is more MsgPacky)
2017-08-09 09:12:11 -07:00
moozzyk
be9fec5d30
Adding result kind to completion message
...
Before we would rely on error being null to detect whether to read results and we had an additional 'hasResult' field. Now all this information is codified in a field.
2017-08-09 09:12:11 -07:00
Mikael Mengistu
32ef3eb355
Hub<T> ( #689 )
2017-08-08 17:39:09 -07:00
Pawel Kadluczka
3a1d4c5dd6
Introducing HubProtocolReaderWriter
2017-08-08 12:11:55 -07:00
Pawel Kadluczka
ad4784dbd2
Centralizing serializing hub messages
2017-08-08 12:11:55 -07:00
Pawel Kadluczka
a0e490e549
Enabling binary protocols over text transports
2017-08-08 12:11:55 -07:00
Pawel Kadluczka
f9ee7911a5
Use CloseOutputAsync to close client transport WebSocket ( #695 )
...
* Use CloseOutputAsync to close client transport WebSocket
Fixes #568
2017-08-08 11:31:24 -07:00
Pawel Kadluczka
ae815475b8
Support for binary protocols on the server side
2017-07-20 17:46:45 -07:00
Mikael Mengistu
8fc2cd98b6
Add timeout to Event Queue drain ( #619 )
2017-07-19 11:47:47 -07:00
Mikael Mengistu
8ba29b578d
Dynamic Hub Change Part 2 ( #644 )
2017-07-14 15:54:31 -07:00
Pawel Kadluczka
0ebd33a25c
Plumbing TransferMode on the client side
2017-07-14 10:45:28 -07:00
Pawel Kadluczka
90a6d8fdf7
Shortening log path
...
CI is failing with PathTooLongException
2017-07-14 08:38:29 -07:00
Pawel Kadluczka
2854e868ec
Adding tests for SSE transport #413
2017-07-13 09:14:03 -07:00
BrennanConroy
bcefbae00c
Complete logging for Socket.* packages ( #655 )
2017-07-12 16:16:09 -07:00
Pawel Kadluczka
a41ef82f19
Exiting SSE transport receive loop when transport is stopping
...
Fixes : #650
2017-07-10 17:56:24 -07:00
Hao Kung
2d16cd2273
React to default auth change
2017-07-07 19:20:20 -07:00
David Fowler
595f783857
Features everywhere ( #639 )
...
* Features everywhere
- The goal here is to move things closer to the final design where
ConnectionContext represents a very low level primitive that represents
any connection like transport. As part of that change, we remove unnecessary
properties like User and move those into features. They temporarily live in the same
assembly but they are not required by ConnectionContext.
- Used features for Hubs instead of Metadata
- Metadata is no longer thread safe
2017-07-06 11:27:16 -07:00
Mikael Mengistu
2597e52e53
Rename HubConnection Extension Methods from Invoke to InvokeAsync ( #637 )
2017-07-05 22:56:03 -07:00
Mikael Mengistu
cfaa4b69d7
Dynamic Hub Work Part 1 ( #636 )
...
Getting rid of TClient
2017-07-05 22:55:16 -07:00
David Fowler
f21f5039b2
Replace ConnectionContext with HubConnectionContext ( #629 )
...
* Replace ConnectionContext with HubConnectionContext
- The SocketDelegate implementation owns the transport pipe,
it's a single producer single consumer model. SignalR needs to support
multiple producers so that broadcast, return values and sending to individual
connections works. This change introduces a multi producer channel that is used
by all producers to copy data to the transport safely. This will make the move
to pipelines easier.
2017-07-03 17:44:28 -07:00
David Fowler
0f4295f90e
Make parsers stateless ( #628 )
...
* Make parsers stateless
- Changed parser input to ReadOnlySpan<byte> to ReadOnlyBuffer<byte>
2017-07-01 23:44:22 -07:00
David Fowler
53e09f8cc3
Fix flaky test ( #622 )
...
- Remove timeout and closed the application when the transport closes.
Made some tweaks to TestWebSocketConnectionFeature as a result.
- This uncovered some interesting issues with the WebSocketTransport itself so
further refactoring is needed to make it a bit more solid.
2017-06-30 02:30:09 -07:00
Hao Kung
d125a14a39
React to HttpAbstractions
2017-06-29 16:30:38 -07:00
Pranav K
08c04f8912
Fix NuGet downgrade warnings from CoreFxLab packages
2017-06-29 10:31:32 -07:00
Mikael Mengistu
d68de2b5ea
Make Client Side Event Handlers Async ( #610 )
2017-06-28 22:39:59 -07:00
David Fowler
6332e98d03
Remove Try from Write methods ( #614 )
...
- We write to a Stream so it should never fail (it could throw
but that's not new).
2017-06-28 21:53:23 -07:00
David Fowler
d6f5e16f38
Support non blocking send on client ( #603 )
...
* Added support for non blocking sends on HubConnection
- Renamed Invoke to InvokeAsync
- Add support for non blocking send to TS client
- Add tests to make sure that non blocking sends don't send responses
2017-06-28 21:00:13 -07:00
BrennanConroy
dc29e98032
Support Authorize attribute on EndPoints ( #606 )
2017-06-28 14:52:52 -07:00
Pawel Kadluczka
f8d91b54d4
MsgPack end-to-end
...
Plugging in MsgPack protocol
Adding negotiation message to hub protocol
2017-06-27 18:40:55 -07:00
Pawel Kadluczka
71949129ea
Enabling length prefixing, parsing multiple messages
2017-06-27 18:08:32 -07:00
Pawel Kadluczka
3504337918
Adding MsgPack HubProtocol
2017-06-27 17:35:00 -07:00
Mikael Mengistu
13ef35fa79
Changed the handlers to be Func<object[], Task> ( #578 )
2017-06-27 10:14:58 -07:00
BrennanConroy
e36da30072
Ignore failed send after close (WebSockets) ( #593 )
2017-06-27 10:01:45 -07:00
David Fowler
9602787463
Fix broken SSE transport
2017-06-23 14:27:03 -07:00
BrennanConroy
ef273b4796
Add authorization per hub method ( #577 )
2017-06-23 10:22:05 -07:00
David Fowler
a84ba8820f
Use Channel<byte[]> as the abstraction ( #579 )
...
* Use Channel<byte[]> as the abstraction
2017-06-23 09:52:35 -07:00
David Fowler
41f54d001b
Remove dependencies on a bunch of corefxlab things ( #576 )
...
* Remove dependencies on a bunch of corefxlab things
- Used Stream instead of IOutput
- Removed pipelines dependency in most places.
2017-06-22 09:23:52 -07:00
BrennanConroy
0dd29b3050
Always close websocket on server ( #567 )
...
* refactor server websockets transport
2017-06-20 16:00:32 -07:00
BrennanConroy
0298868c00
Reorganize and add more logging to Sockets.Http ( #549 )
...
* Move Sockets.Transports to internal namespace
2017-06-15 08:24:43 -07:00
Pawel Kadluczka
6576bb0ea4
Making the build pass after we took new packages
2017-06-14 15:32:20 -07:00