Andrew Stanton-Nurse
499d39b364
rename MsgPack assembly only ( #2005 )
2018-04-13 12:01:45 -07:00
Andrew Stanton-Nurse
43e6ab750a
Fix #1927 by using Synchronous Callbacks everywhere. ( #2003 )
2018-04-13 11:38:03 -07:00
BrennanConroy
0919914e56
Internalize more classes ( #2004 )
2018-04-13 11:28:52 -07:00
David Fowler
3e69fdc4ad
Delegate disposable to the IConnectionFactory ( #1999 )
...
- Added DisposeAsync to the IConnectionFactory. It's responsible for disposing the connection after the pipe has closed.
- Added dispose callback to WithConnectionFactory
- Don't wait for poll request to end before unwinding from the transport
- Make sure all http requests are done before returning from StopAsync in both SSE and longpolling
2018-04-13 09:16:23 -07:00
David Fowler
abe139ee16
Make the protocol and messages public ( #1994 )
...
* Move types to a .Protocol namespace
2018-04-13 01:53:41 -07:00
James Newton-King
198013bfa3
Microsoft.AspNetCore.Http.Connections.Client refactors ( #1995 )
2018-04-13 20:13:58 +12:00
David Fowler
83dec1093a
Fixed flaky longpolling tests ( #1993 )
...
- Wait for disposal and removal of the connection
2018-04-13 00:42:31 -07:00
David Fowler
4a568e90d2
API review changes ( #1992 )
...
- Changed GetMessageBytes to return ReadOnlyMemory
- Make HandshakeProtocol.SuccessHandshakeData a readonly field
2018-04-13 00:25:02 -07:00
Mikael Mengistu
70c63fe9e8
Http.Connections.Client API Review changes ( #1987 )
2018-04-13 06:52:27 +00:00
Ahson Khan
0ee4a86564
Collapse AsSpan().Slice(..) into AsSpan(..) ( #1991 )
2018-04-12 23:15:47 -07:00
Andrew Stanton-Nurse
16c6a65bf2
polyfill UInt8Array.forEach for IE ( #1981 )
2018-04-12 21:15:39 -07:00
Mikael Mengistu
0053124ca4
Make Proxies Internal ( #1982 )
2018-04-13 00:38:16 +00:00
Mikael Mengistu
df4d901ae7
Fix 5 param On extension method ( #1984 )
2018-04-13 00:37:13 +00:00
=
d5a4d9b8c5
Update usage of TestSink
2018-04-12 16:58:19 -07:00
Andrew Stanton-Nurse
24328b8e88
fix #1281 by adding support for DELETE endpoint on server ( #1925 )
2018-04-12 12:39:08 -07:00
Andrew Stanton-Nurse
0992db9fd2
fix #1914 by switching RedisProtocol to MsgPack ( #1968 )
2018-04-12 12:10:51 -07:00
Andrew Stanton-Nurse
c734b9910a
fix #1951 by transpiling to ES5 ( #1970 )
2018-04-12 11:59:43 -07:00
David Fowler
71abbd22f4
Remove Binary over text sample ( #1975 )
...
We don't support it anymore
2018-04-12 09:40:46 -07:00
BrennanConroy
1fc282acb8
Move Benchmark Apps to new folder and use .All package when Benchmarks runs our scenarios ( #1965 )
2018-04-12 08:28:12 -07:00
David Fowler
8b1a7e9199
API review feedback ( #1974 )
...
- Remove SetHttpContext
- Remove HttpContextFeature
- Add and implement IHttpTransportFeature on HttpConnectionContext
- Remove ConnectionMetadataNames
2018-04-12 03:50:14 -07:00
James Newton-King
d4773e831c
Set default transport and application buffer sizes ( #1964 )
2018-04-12 18:23:00 +12:00
James Newton-King
7563ccae20
Always use TaskCreationOptions.RunContinuationsAsynchronously ( #1966 )
2018-04-12 18:21:20 +12:00
James Newton-King
1ae901de3d
Fix incorrect test for long poll and web sockets requests ( #1971 )
2018-04-12 18:21:05 +12:00
David Fowler
3c8c8ea8e1
React to Kestrel changes ( #1969 )
2018-04-11 20:29:17 -07:00
David Fowler
08f9990c39
Ensure there's a redis connection earlier
2018-04-11 15:25:38 -07:00
Mikael Mengistu
b8c3273cae
Dont always copy handlers ( #1945 )
2018-04-11 22:19:51 +00:00
BrennanConroy
c9ab30e150
Enable detailed errors for redis tests ( #1962 )
2018-04-11 15:14:34 -07:00
Andrew Stanton-Nurse
ee6e8c15ce
increase jasmine timeout and add timestamps to logs ( #1959 )
2018-04-11 14:38:40 -07:00
David Fowler
8cc851ff9b
Clean up timer code with custom awaitable ( #1935 )
...
- Gets rid of locks by using an event loop
2018-04-11 10:39:29 -07:00
David Fowler
cb5bba36fc
Get off the event loop before dispatch ( #1952 )
2018-04-11 10:39:09 -07:00
James Newton-King
12b69a0fdb
Refactor HttpOptions in client ( #1942 )
...
- Rename HttpOptions to HttpConfigurationOptions
- Remove HttpConfigurationOptions from SignalR client project
- Updated client HttpConnection ctors
2018-04-11 20:20:04 +12:00
James Newton-King
b30c2fecbf
SSE formatting refactor ( #1916 )
2018-04-11 17:13:15 +12:00
Mikael Mengistu
83821a028d
Rename HubEndPointTestUtils folder ( #1943 )
2018-04-11 04:05:28 +00:00
James Newton-King
c83baf2b76
Remove params from message ctors ( #1931 )
2018-04-11 12:11:13 +12:00
Mikael Mengistu
13f7981010
Rename Callback to Configure in UseConnections ( #1939 )
2018-04-11 00:08:22 +00:00
Mikael Mengistu
e2169ceda6
Connect to Redis asynchronously ( #1922 )
2018-04-10 23:48:11 +00:00
Andrew Stanton-Nurse
71be5bf637
fix logging browser tests ( #1940 )
2018-04-10 16:45:17 -07:00
Andrew Stanton-Nurse
3136e5b05f
fix #1923 by avoiding extra build step ( #1924 )
2018-04-10 16:26:37 -07:00
David Fowler
5fa2892561
Change the HubSample to reconnect to the server ( #1933 )
...
- Modified the sample to test our reconnect patterns
- Add IConnectionInherentKeepAliveFeature to the tcp connection impl since Kestrel doesn't implement the heartbeat (yet).
2018-04-10 12:44:30 -07:00
David Fowler
5aafb9b8be
Remove ITransport dependency on IConnection ( #1934 )
2018-04-10 12:29:16 -07:00
Ben Adams
8a3516284e
Add GetMessageBytes to IHubProtocol ( #1915 )
2018-04-10 07:14:09 -07:00
Vegard Løkken
31dfe91962
Support async access token factory ( #1911 )
2018-04-10 05:34:10 -07:00
James Newton-King
6bc2ebb4c5
Use invariant culture and ordinal comparisons ( #1928 )
2018-04-10 16:52:19 +12:00
David Fowler
f4313170f8
Split HandshakeProtocol into another class ( #1921 )
...
- Take a HandshakeRequest into the protocol type
2018-04-09 17:45:16 -07:00
BrennanConroy
6d050140e5
Swtich to MessagePack-CSharp ( #1879 )
2018-04-09 17:04:32 -07:00
Andrew Stanton-Nurse
ecd665c471
Crank 2: Let's Get Crankier ( #1888 )
...
Ports Crank, from https://github.com/SignalR/DCrank to ASP.NET Core SignalR
2018-04-09 15:46:26 -07:00
David Fowler
01089da84d
Use in for ReadOnlySequence ( #1900 )
2018-04-09 09:29:27 -07:00
BrennanConroy
962ea25637
Update deps ( #1919 )
2018-04-09 09:21:56 -07:00
David Fowler
95e868b68c
Remove JsonSerializer ( #1913 )
2018-04-09 02:56:46 -07:00
Ben Adams
406d8f9a81
readonly readonly structs ( #1908 )
2018-04-08 23:28:37 -07:00