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
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
Pawel Kadluczka
dd07ab1735
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-20 15:31:56 -07:00
FTWinston
a7fb243501
Added typed HubContext
2017-09-19 16:16:31 -07:00
David Fowler
2efbd6a95a
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-18 14:14:23 -07:00
David Fowler
a93e4be82f
Added Cancellation support ( #897 )
...
* Added Cancellation support
- Added ConnectionAbortedToken to the HubConnectionContext. This allows
arbitrary code to access a handle that represents the connection lifetime
without handling OnDisconnectedAsync on the hub itself.
- Expose Abort on HubConnectionContext to allow server side methods to
abort the connection.
- Use the Abort to stop the main loop when unexpected invocation errors happen.
- Use the connection aborted token as unsubscribe from the IObservable and to complete
the IAsyncEnumerator for streaming results.
2017-09-18 12:47:38 -07:00
Pawel Kadluczka
b093f2b279
Merge branch 'rel/1.0.0-alpha1' into dev
2017-09-13 13:55:06 -07:00
Pawel Kadluczka
d226b20756
Rename With/GetTransportType to With/GetTransport
2017-09-13 09:46:17 -07:00
David Fowler
11cc57ee0e
Merge branch 'rel/1.0.0-alpha1' into dev
...
# Conflicts:
# src/Microsoft.AspNetCore.SignalR.Client.Core/Microsoft.AspNetCore.SignalR.Client.Core.csproj
2017-09-13 09:20:53 -07:00
David Fowler
2e695c935e
Made tweaks to .NET client logging API ( #869 )
...
- Removed ConnectionFactoryDelegate and used Func<IConnection>
- Changed WithLogger that accepts ILoggerFactory to WithLoggerFactory
- Made UseLogger configure the existing ILoggerFactory or create a LoggerFactory
- Add support for setting the log level for console logs
- Updated tests
2017-09-13 09:18:06 -07:00
BrennanConroy
ef4da90c91
Merge branch 'rel/1.0.0-alpha1' into dev
2017-09-11 16:55:57 -07:00
BrennanConroy
393ab6a4f0
Add extension method to get HttpContext on HubConnectionContext ( #849 )
2017-09-11 16:55:32 -07:00
Pawel Kadluczka
225d2ed6f1
Merge branch 'rel/1.0.0-alpha1' into dev
2017-09-07 10:30:31 -07:00
Pawel Kadluczka
4ac8e786cf
Adding HubConnectionBuilder
2017-09-07 10:04:42 -07:00
Pawel Kadluczka
8ff6a4b624
Merge branch 'rel/1.0.0-alpha1' into dev
2017-09-07 09:52:28 -07:00
Pawel Kadluczka
9e614b6cc7
Initializing HubOptions.JsonSerializationSettings to default settings
2017-09-07 09:51:20 -07:00
Nate McMaster
d3ae3abe2a
Use PackageLineup to manage PackageReference versions
2017-09-01 16:34:32 -07:00
BrennanConroy
7418785a5e
Fix WebSocket race in E2E test ( #809 )
2017-08-31 15:30:55 -07:00
Mikael Mengistu
8ec2848646
AllExcept for Dynamic and Typed Hubs ( #796 )
2017-08-31 15:30:19 -07:00
Nate McMaster
5b767e05b4
Lift local function to class function to workaround issue in xunit.analyzers and roslyn
2017-08-31 13:42:44 -07:00
Pawel Kadluczka
5dceaa8149
Adding Microsoft.AspNetCore.SignalR.Client
2017-08-31 10:10:02 -07:00
Pawel Kadluczka
36acebf9fb
Renaming Microsoft.AspNetCore.SignalR.Client to Microsoft.AspNetCore.SignalR.Client.Core
2017-08-31 10:10:02 -07:00
Pawel Kadluczka
521eed1438
Renaming Microsoft.AspNetCore.SignalR.Http to Microsoft.AspNetCore.SignalR
2017-08-31 10:10:02 -07:00
Nate McMaster
9c0dc52d67
Use Directory.Build.props/targets
2017-08-29 10:17:20 -07:00
BrennanConroy
978f5cebc0
Starting HubOptions ( #743 )
...
* Added JsonSerializerSettings
2017-08-23 15:30:08 -07:00
Nate McMaster
629dd34977
Upgrade to xunit 2.3.0-beta4 ( #754 )
...
Removes unused theory parameters
2017-08-23 10:02:15 -07:00
Mikael Mengistu
d469cc3151
Clients Subset - AllExcept ( #700 )
2017-08-22 17:33:27 -07:00
BrennanConroy
5c6fb642a0
Fix flaky WebSocket test ( #745 )
2017-08-22 10:48:30 -07:00
BrennanConroy
345190e6a9
Add timeout to Negotiate ( #736 )
2017-08-18 15:51:01 -07:00
BrennanConroy
a4053acd06
Give Client a chance to receive Close Frame from Server ( #730 )
2017-08-18 09:56:40 -07:00
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
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
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
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
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
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
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