Commit Graph

494 Commits

Author SHA1 Message Date
Kiran Challa ec02907af1 Fixed version of netstandard.library and removed stale package 2017-06-15 07:24:30 -07:00
Kiran Challa 2697afd80f Merge branch 'rel/2.0.0-preview2' into dev-gate 2017-06-15 04:04:38 -07:00
David Fowler e762adc018 Updated Hub protocol
- Removed blurb about websockets
2017-06-15 09:22:52 +02:00
David Fowler 53c94b9450 Updated the spec
- Removed the text and binary frames distinction
- Removed the datagram requirement
2017-06-15 09:22:14 +02:00
Hu Weiwen 40bef1bc78 Simplify delegate invoking (#565) 2017-06-15 07:45:32 +02:00
David Fowler dbb438dc08 Remove content type from LongPollingTransport 2017-06-15 07:33:05 +02:00
Kiran Challa 4812d205ea Add NETStandardImplicitPackageVersion to dependencies.props 2017-06-14 17:29:45 -07:00
Pawel Kadluczka 6576bb0ea4 Making the build pass after we took new packages 2017-06-14 15:32:20 -07:00
David Fowler ae21379736 Fixed 205 status code 2017-06-13 06:00:26 +02:00
David Fowler cde0aa741a Removed unused dependencies (#558) 2017-06-13 03:03:28 +02:00
BrennanConroy 3cabb6aeb1 Don't over-discover Hub methods (#511) 2017-06-12 14:26:33 -07:00
BrennanConroy 8277b2cc27 Enable skipped test (#551) 2017-06-12 11:37:11 -07:00
David Fowler 12917ef0e9 Re-layer the .NET Client into Http and non-Http (#544)
* Re-layer the .NET Client into Http and non-Http
- Moved IConnection to Sockets.Abstractions and removed
HttpConnection and TransportType dependency.
- Renamed Sockets.Client to Sockets.Client.Http
- Renamed Sockets.Common to Sockets.Common.Http
- Renamed Connection to HttpConnection
- Removed HTTP dependency from HubConnection
- Removed tests that were testing connection logic in HubConnection

#518
2017-06-09 08:58:54 -10:00
Mikael Mengistu bdea0f07ef Fix SocketSample group send (#539) 2017-06-08 17:07:30 -07:00
Mikael Mengistu 27979d835f Clean up GroupManager (#542) 2017-06-08 17:06:41 -07:00
Nate McMaster 05dd8c7386 Add the npm 5 lockfile to source 2017-06-08 09:47:17 -07:00
David Fowler 523517f60c Add support for timing out poll requests (#538)
* Add support for timing out poll requests
- Default poll request is 110 seconds (like in previous versions of SignalR)
- Use 200 with a 0 content length for timeouts.
- Added support for not timing out while debugging
2017-06-07 20:55:00 -10:00
BrennanConroy d1df3671d8 Add Auth Test that was accidentally deleted (#541) 2017-06-07 14:29:59 -07:00
Pavel Krymets c845b07b56 Merge remote-tracking branch 'origin/rel/2.0.0-preview2' into dev 2017-06-07 14:29:28 -07:00
Pavel Krymets a9ca4aeeb2 React to logging changes 2017-06-07 14:27:30 -07:00
David Fowler 50f1d8f9fe Added IHubProtocol to ts client (#537)
- Mimics the .NET client structure wise
- Also adds a JsonHubProtocol implementation
2017-06-07 05:46:27 -10:00
David Fowler 0bbe42a912 Unbreak the chat sample 2017-06-07 01:02:53 -07:00
BrennanConroy 1fad901843 Fix inherited hub auth and added tests (#535) 2017-06-06 20:55:34 -10:00
Mikael Mengistu 680c48d584 Change Group Add and Remove API (#522) 2017-06-06 21:50:34 -04:00
Pawel Kadluczka 1ae4d3e042 Fixing typos (#519) 2017-06-06 16:55:10 -07:00
Pawel Kadluczka a14a0ab039 Adding structured negotiate 2017-06-06 15:53:21 -07:00
BrennanConroy 4c4be7ed6f Add support for Hub Authorize Attribute (#532) 2017-06-06 15:46:08 -07:00
Nate McMaster fd7abb31e8 Lift M.ANC.Sockets.Common to .NET Standard 2.0 2017-06-06 15:28:27 -07:00
Pawel Kadluczka 028bd68bf5 Removing unneeded queryString from TS client 2017-06-06 14:02:01 -07:00
Ryan Brandenburg 9d584a6358 Skip flaky test 2017-06-06 19:33:46 +00:00
David Fowler d8583535c8 Remove unused code 2017-06-06 10:58:29 -07:00
David Fowler 5f6736a82f Removed unused parameter 2017-06-06 10:29:56 -07:00
David Fowler 59a8f5f3b5 Simplify the JSON and protobuf protocols (#524)
- Remove message type and message format
- Updated tests
2017-06-06 07:18:23 -10:00
David Fowler 38efde7b50 Merge transport and hub protocols (#517)
* Merge transport and hub protocols
- This change merges the transport and hub protocols into a single protocol. The
idea being that sockets in a purely streaming layer that sends frames from the underlying
transport. This makes things like TCP possible and doesn't impose a framing layer at the lowest
level. This will make it possible to build servers like kestrel on top of the TCP layer.
- The Message was removed from the lowest layer of the stack and pushed into the hubs layer. Hub invocations
are framed with what was before the transport protocol. Connections also need to state upfront if they support
binary or not. This will determine how data will be serialized to the specific connection.
- Changed the SSE parser and writer to be strictly SSE without any of the transport protocol specific
information.
- To ensure we aren't using types in the wrong layers
- Moved protocol logic into SignalR
- Socket.Abstractions is now the root of the universe, Sockets.Common will likely be removed
or turned into Sockets.Common.Http.
- Move SSE parser to Sockets.Client and SSE writer into Sockets.Http
- Moved tests into the appropriate test projects
- Updated the spec
2017-06-05 09:45:40 -10:00
David Fowler 831fa72893 Remove the RequestId from DefaultConnectionContext (#516)
* Remove the RequestId from DefaultConnectionContext
- Added a GetHttpContext() extension method on ConnectionContext
- Also fixed an issue not setting LastSeenUtc
2017-06-03 22:05:44 -10:00
Kiran Challa 7de91da37d Merge branch 'rel/2.0.0-preview2' into dev 2017-06-03 19:28:28 -07:00
David Fowler b77f50a99a Merge DefaultConnectionContext with ConnectionState (#514)
* Merge DefaultConnectionContext with ConnectionState
- Removed ConnectionState as a result
2017-06-03 12:14:01 -10:00
David Fowler cad9f2f671 Use RX in streaming sample 2017-06-03 11:45:36 -07:00
David Fowler 42e2715a95 Removed EndOfMessage from Message (#513)
* Removed EndOfMessage from Message
- The webSockets transport no longer supports partial payloads so
this feature is now gone.
2017-06-03 08:32:28 -10:00
David Fowler eee2683b5e Removed pip install 2017-06-03 09:57:11 -07:00
David Fowler 72423ee203 Removed custom websocket implementation (#507)
- Use the default websocket middleware
- Rewrote TestWebSocketConnectionFeature to use Channels instead of pipes
2017-06-03 06:53:39 -10:00
BrennanConroy 52f2104c78 React to Base64 API changes 2017-06-02 20:40:06 -07:00
Pavel Krymets db9712c3f2 Merge remote-tracking branch 'origin/rel/2.0.0-preview2' into dev 2017-06-02 15:04:33 -07:00
Pavel Krymets 12fb3de3a6 React to AddConfiguration argument change 2017-06-02 15:03:55 -07:00
Pavel Krymets 6b32478ec1 Merge remote-tracking branch 'origin/rel/2.0.0-preview2' into dev 2017-06-02 14:00:34 -07:00
Pavel Krymets ce280cba00 React to Logging in DI changes 2017-06-02 13:57:49 -07:00
Kiran Challa 49e0829903 Removed unnecessary references 2017-06-01 15:27:19 -07:00
BrennanConroy 2936c88d54 Remove unnecessary build step and reference (#504) 2017-06-01 15:21:21 -07:00
David Fowler d10a6293bd Discover hub methods at startup time (#503)
* Discover hub methods at startup time
- Errors will show up earlier as a result instead of cryptic
first connect errors.
2017-06-01 09:47:39 -10:00
Kiran Challa 6d9f56bf4e Removed unnecessary references 2017-06-01 12:06:45 -07:00