Pawel Kadluczka
a903a74db1
Adding roundtripping test for CancelInvocation message ( #1031 )
...
* Adding roundtripping test for CancelInvocation message
2017-10-18 22:49:15 -07:00
Mikael Mengistu
04d4da2987
Replace Received Event with OnReceived ( #1006 )
2017-10-18 17:10:51 -07:00
BrennanConroy
bb308ff72e
LoggerDefine for Redis ( #1002 )
2017-10-18 10:46:03 -07:00
Gurgen Hakobyan
b3ac9f4bf8
Not very important code optimization ( #1030 )
...
Code optimization
2017-10-18 09:23:32 -07:00
BrennanConroy
0e70c7950b
Adding Redis Unit tests ( #1013 )
2017-10-17 15:48:29 -07:00
BrennanConroy
878a70226c
[Redis] Remove groups properly from connection diconnection ( #1010 )
...
And properly short circuit group actions for local connections
2017-10-17 14:15:00 -07:00
gurgen
af286c81bb
Groups collection without lock
2017-10-17 12:06:05 -07:00
Ryan Brandenburg
0aea1e851b
Add RepositoryRoot
2017-10-16 14:54:38 -07:00
RoBackman
a709158e8a
Summary of changes\n\t- Improved logging to browser console\n\nAddresses #802
2017-10-16 10:29:17 -07:00
BrennanConroy
de34990241
Short Circuit message to local connection in Redis ( #1009 )
2017-10-11 13:17:49 -07:00
BrennanConroy
8701baf73d
Add negotiate timeout option to hub options ( #1003 )
2017-10-11 08:59:37 -07:00
BrennanConroy
de535422d7
Optional error and complete functions for observables ( #1000 )
2017-10-10 16:42:50 -07:00
Ryan Brandenburg
6d9dd3c1cc
Update bootstrappers
2017-10-09 12:43:40 -07:00
BrennanConroy
de2e0967c3
Adding CancelInvocation message ( #979 )
...
* For Streaming only. And C# client only.
2017-10-06 15:55:39 -07:00
ivankarpey
665f166d67
fix issue with incorrect user detection when Invoking for User ( #747 )
...
* fix issue with incorrect user detection when Invoking for User
* fix failed testcases
* use proper extension method to avoid potential null reference exception
* fix for channel name in redis version + follow SignalR team recommendations
* remove unncessary freespace
* remove whitespaces
* introduce IUserIdProvider to resolve user id
* Move IUserIdProvider from HubLifetimeManager to HubConnectionContext
* setting user id to connection context in hubendpoint
2017-10-06 11:58:18 -07:00
Kai Ruhnau
3c5d283689
Fix the VarInt example for the 2GiB
...
`0x7fffffff` has 31 binary ones. The first four bytes of the VarInt account for 4*7=28, so the fifth byte only needs the remaining three
2017-10-06 10:38:21 -07:00
Mikael Mengistu
72514f3943
Removing the connected event ( #989 )
2017-10-05 11:12:18 -07:00
Pawel Kadluczka
ba1c210f03
Fixing JS end-to-end tests
2017-10-04 12:04:08 -07:00
Pawel Kadluczka
8ab629d8f3
Merge branch 'rel/1.0.0-alpha2' into dev
2017-10-04 10:24:09 -07:00
Pawel Kadluczka
1887c7bb62
Changing version to final
2017-10-03 17:08:39 -07:00
Pawel Kadluczka
83bc056085
Merge branch 'rel/1.0.0-alpha2' into dev
2017-10-03 11:10:32 -07:00
Pawel Kadluczka
aa0d5ec659
Updating HubProtocol spec to account for using VarInt to encode length prefix
2017-10-02 14:21:51 -07:00
Pawel Kadluczka
7c90e80b3f
Merge branch 'rel/1.0.0-alpha2' into dev
2017-10-02 10:07:16 -07:00
Pawel Kadluczka
70df19c8a2
Fixing MsgPack serializing byte[] as string Part 1
...
Enabling sending byte[] from server to client.
2017-09-29 17:05:24 -07:00
Pawel Kadluczka
05da66ada0
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-28 17:52:25 -07:00
Pawel Kadluczka
602ca479b8
Checking if window.document defined before trying to resolve url
2017-09-28 17:01:34 -07:00
Pawel Kadluczka
4f4fb174ea
Replacing 8-byte-long length prefix with varint
2017-09-28 17:00:49 -07:00
David Fowler
2adf24d1c6
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-25 23:44:25 -07:00
David Fowler
e17cdae046
Added overloads from 0-n arguments ( #949 )
...
- Added 0 arg overload for InvokeAsync
2017-09-25 23:42:05 -07:00
David Fowler
9df8d2f795
Remove the params argument from IClientProxy ( #946 )
...
* Remove the params argument from IClientProxy
- This allows passing arrays without having to explicitly ToArray() or AsEnumerable()
- Added overloads up to 10 arguments
- Added tests
2017-09-25 21:01:52 -07:00
David Fowler
000f9cb192
Initial support for websocket subprotocols ( #933 )
...
* Initial support for websocket subprotocols
- Exposes a SubProtocol property on WebSocketOptions that picks the
protocol for all connections on the end point.
- This is required for things like mqtt over websockets (the SubProtocol in
this case is something like mqtt or mqttv3.1)
- Added test
#402
2017-09-25 15:17:45 -07:00
David Fowler
5497c7d4ce
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-25 08:31:02 -07:00
David Fowler
26255cc29c
Check for null before sending to a specific connection id ( #935 )
...
* Check for null before sending to a specific connection id
- Added some tests for the DefaultHubLifetimeManager
#905
2017-09-25 08:26:24 -07:00
moozzyk
c0713c9916
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-25 08:17:27 -07:00
Pawel Kadluczka
0267695656
Exceptions thrown during writing should close the connection
...
We need to close the connection if there is an exception when writing to the transport on the server side. Currently if an exception happens it leaves the connection in an unsable state - after the exception no messages from the server will be sent to the client because the writing loop is terminated. Ignoring the message could cause hangs on the client side since we can fail while writing a completion message. In this case if the client is awaiting the invocation it will hang because the task will never be completed.
2017-09-25 08:13:46 -07:00
David Fowler
65cd41dbf5
Block POST requests for websocket connections ( #934 )
2017-09-23 17:49:19 -07:00
Pawel Kadluczka
1686878035
Adding JS tests that send and receive structural objects
2017-09-22 17:13:21 -07:00
Pawel Kadluczka
8743723ece
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-21 23:00:20 -07:00
Pawel Kadluczka
4db78685dc
camelCasing objects serialized by JsonHubProtocol
...
Fixes : #859
2017-09-21 22:58:59 -07:00
Pawel Kadluczka
6ed3f6d1aa
Enabling hub connection with customized hub protocols
2017-09-21 22:57:07 -07:00
Justin Kotalik
bb603df166
Increase Minimum Version of Visual Studio to 15.3.0
2017-09-21 18:00:40 -07:00
Andrew Stanton-Nurse
786980bc3f
add names to EventIds used by logger extensions ( #927 )
2017-09-21 17:36:50 -07:00
Pawel Kadluczka
126901a08f
Adding default ctors for HubProtocols
2017-09-21 15:30:23 -07:00
Pawel Kadluczka
ba25dee141
Enabling customizing serialization settings in MessagePack protocol
2017-09-21 15:30:23 -07:00
moozzyk
9ecb6d1d58
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-21 08:31:53 -07:00
Tim Seaward
bcda95353e
Remove extra span ( #922 )
2017-09-21 03:30:05 -07:00
Tim Seaward
f71e31a1cd
Fix the double buffer rent/free ( #921 )
...
* Fix the double buffer rent/free
* Fix the double cast to span
2017-09-20 23:30:59 -07:00
Pawel Kadluczka
20d4d70cc7
lowercasing event names
2017-09-20 18:19:02 -07:00
Pawel Kadluczka
5ca089e33e
Enabling multiple callbacks for HubConnection.onClose
...
Fixes : #842
2017-09-20 17:09:02 -07:00
Pawel Kadluczka
dd07ab1735
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-20 15:31:56 -07:00