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
BrennanConroy
4e9a7be7dd
SignalR Core Logging ( #889 )
2017-09-20 15:13:26 -07:00
FTWinston
a7fb243501
Added typed HubContext
2017-09-19 16:16:31 -07:00
Pawel Kadluczka
ac36121f26
Update README
...
Adding information about requirements for building the repo. Fixes: https://github.com/aspnet/SignalR/issues/906
2017-09-19 15:13:18 -07:00
Pawel Kadluczka
80bf695181
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-19 11:37:03 -07:00
Pawel Kadluczka
bee9fcb0d8
Adding support for multiple callbacks per client side method
...
...and a possibility to remove callbacks
Fixes : #807
2017-09-19 11:13:22 -07:00
David Fowler
24455da8fb
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-18 20:46:14 -07:00
Pawel Kadluczka
8c9016cfbd
Removing AspNetCoreVersion for a package reference
2017-09-18 17:26:02 -07:00
David Fowler
48d97bf271
Turned Stream into StreamAsync ( #902 )
...
* Turned Stream into StreamAsync
- Before we were fire and forgetting the invocation that initiated
the streaming, this changes that so that the caller now has to await
to get the channel.
#899
2017-09-18 16:44:18 -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
ad54c08519
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-18 10:48:53 -07:00
Pawel Kadluczka
20b07a0dff
Adding README to npm module
2017-09-18 10:08:52 -07:00
Pawel Kadluczka
c6c08e142e
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-18 10:03:35 -07:00
Pawel Kadluczka
982ac32fea
Prepending relative urls with '/'
2017-09-15 15:12:36 -07:00
Mikael Mengistu
e42f6980b6
Add Hub<T> Functional Tests ( #891 )
2017-09-15 13:59:44 -07:00
Pawel Kadluczka
4841444d60
Packages produced from dev branch should be alpha2 now
2017-09-15 13:44:33 -07:00
Pawel Kadluczka
393c1e420e
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-15 12:12:40 -07:00
Pawel Kadluczka
b40578b89b
Moving versions to alpha2
2017-09-15 12:11:53 -07:00
BrennanConroy
0159d45f54
Merge branch 'rel/1.0.0-alpha2' into dev
2017-09-15 11:05:04 -07:00
BrennanConroy
9a67ac5341
Make sure socket closed is logged
2017-09-15 11:03:51 -07:00
Pawel Kadluczka
2919c26dd4
Update README.md
2017-09-15 08:16:35 -07:00
Andrew Stanton-Nurse
7bc3db1b29
Fix some markdown glitches. ( #879 )
2017-09-14 14:50:17 -07:00
Pawel Kadluczka
ce9a208c9c
Merge branch 'rel/1.0.0-alpha1' into dev
2017-09-14 10:05:47 -07:00
Pawel Kadluczka
a267e86e1f
Adding the 'final' suffix to version
2017-09-14 09:49:06 -07:00
Pawel Kadluczka
73fe2421ed
Merge branch 'rel/1.0.0-alpha1' into dev
2017-09-13 17:54:54 -07:00
Pawel Kadluczka
ff9937e247
Dropping build number from package names
2017-09-13 17:53:34 -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
Pawel Kadluczka
71bdd676b5
Merge branch 'rel/1.0.0-alpha1' into dev
2017-09-13 09:18:12 -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
Pawel Kadluczka
72568acff0
Appending version to browser javascript file names
2017-09-13 09:17:13 -07:00
Pawel Kadluczka
5d7b706c4d
Merge branch 'rel/1.0.0-alpha1' into dev
2017-09-13 09:15:08 -07:00