Commit Graph

70 Commits

Author SHA1 Message Date
Pawel Kadluczka 982ac32fea Prepending relative urls with '/' 2017-09-15 15:12:36 -07:00
Pawel Kadluczka b40578b89b Moving versions to alpha2 2017-09-15 12:11:53 -07:00
Pawel Kadluczka a267e86e1f Adding the 'final' suffix to version 2017-09-14 09:49:06 -07:00
Pawel Kadluczka 72568acff0 Appending version to browser javascript file names 2017-09-13 09:17:13 -07:00
BrennanConroy 2d4b2239a9 Reduce C# client logging and add HubProtocol log (#857) 2017-09-12 13:45:11 -07:00
Pawel Kadluczka abd669849d Making MsgPack work in IE10 2017-09-11 21:14:15 -07:00
Pawel Kadluczka 54c71c4c10 Replacing Cache-Control header with nonce
Makes long polling work on IE10 and IE9
2017-09-11 21:12:18 -07:00
Pawel Kadluczka 67b2b27ac9 Enabling passing relative Url when creating connections 2017-09-11 21:07:47 -07:00
Pawel Kadluczka bb79a9760c Enabling creating HubConnection without HttpConnection 2017-09-11 21:07:47 -07:00
Pawel Kadluczka b4c61b6c2d Client side method names should be case insensitive 2017-09-07 09:50:13 -07:00
Pawel Kadluczka 2cc72d72cd Logging traffic at Trace level 2017-09-06 11:56:38 -07:00
Mikael Mengistu cd10d7e122 Fixing csproj 2017-08-31 16:22:36 -07:00
Pawel Kadluczka 29ad3d1dd6 Adding third-party-notices.txt for msgpack5 2017-08-31 15:34:11 -07:00
Mikael Mengistu 7dcbf25069 Headers for TS files (#798) 2017-08-31 11:33:14 -07:00
Pawel Kadluczka 7db480b23e Changing the way users can enable logging 2017-08-30 17:26:05 -07:00
Nate McMaster 9c0dc52d67 Use Directory.Build.props/targets 2017-08-29 10:17:20 -07:00
Pawel Kadluczka 2a36aa141d Making the client and tests work on IE 2017-08-28 17:06:25 -07:00
Pawel Kadluczka ff2bf5ad75 Creating ES5 version of the TS client 2017-08-28 17:06:24 -07:00
Mikael Mengistu c0d47adb11 Allow spaces in path (#779) 2017-08-28 15:29:33 -07:00
Mikael Mengistu 6907261453 Unset the UserAgent Header in the TS client (#781) 2017-08-28 14:18:08 -07:00
Mikael Mengistu b60e598277 Setting the User-Agent header (#759) 2017-08-27 16:35:28 -07:00
Pawel Kadluczka 83f3605cfb Minification - part 1 (#762)
* Minification - part 1

Creating a minified version of javascript signalr client
2017-08-25 12:27:35 -07:00
Pawel Kadluczka cddc5f8a75 Adapting TS-client to work with non-level-2 xhr 2017-08-24 11:10:24 -07:00
Pawel Kadluczka bc980c45bb Updating samples 2017-08-23 16:11:47 -07:00
Pawel Kadluczka e4c1b888ca Adding loggers to TS client 2017-08-23 16:11:47 -07:00
Pawel Kadluczka cdbb13de66 Putting signalr-client in @aspnet scope 2017-08-23 09:05:41 -07:00
Pawel Kadluczka 79d8a9d3d2 Changing module type to commonjs 2017-08-21 14:28:56 -07:00
Pawel Kadluczka e349329dc7 Changing length prefixing to separator for JSON TS 2017-08-18 09:50:45 -07:00
Pawel Kadluczka a359da0c44 Length prefixing base64 encoded messages
... in preparation for pipeline conversion
2017-08-17 09:58:16 -07:00
Pawel Kadluczka 4898c0d3df Integrating MsgPack support in TS client 2017-08-11 11:44:52 -07:00
Pawel Kadluczka e2cec0b305 Adding MsgPack hub protocol to TS client 2017-08-09 09:12:11 -07:00
Pranav K cd5d4fbdaf Merge branch 'rel/2.0.0' into dev 2017-07-11 21:04:38 -07:00
Pranav K 91eb97c432 Revert "Check for the existence of a git repository before invoking git commands"
This reverts commit 6c39e227b8.
2017-07-11 21:04:29 -07:00
Pranav K 6c39e227b8 Check for the existence of a git repository before invoking git commands 2017-07-11 21:03:41 -07:00
Pranav K fcda85727a Check for the existence of a git repository before invoking git commands 2017-07-11 20:51:03 -07:00
Pawel Kadluczka 86756d11dd Moving typings to the TS client folder 2017-07-11 16:39:30 -07:00
Mikael Mengistu ed6badbabe Set X-Requested-With header and add HttpError (#623) 2017-07-05 16:02:04 -07:00
David Fowler d6f5e16f38 Support non blocking send on client (#603)
* Added support for non blocking sends on HubConnection
- Renamed Invoke to InvokeAsync
- Add support for non blocking send to TS client
- Add tests to make sure that non blocking sends don't send responses
2017-06-28 21:00:13 -07:00
Pawel Kadluczka 59e032dbcb Adding negotiation to TS client 2017-06-27 18:55:18 -07:00
BrennanConroy 0f264e18e9 Fix TS Client tests (#586) 2017-06-24 08:39:07 -07:00
David Fowler d169b96d2d Decouple IConnection.ts and HubConnection.ts from http (#566)
* Decouple IConnection.ts and HubConnection.ts from http
- Removed TransportType from start
- Renamed Connection.ts to HttpConnection.ts
2017-06-16 06:54:55 +02:00
David Fowler dbb438dc08 Remove content type from LongPollingTransport 2017-06-15 07:33:05 +02: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
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
Pawel Kadluczka a14a0ab039 Adding structured negotiate 2017-06-06 15:53:21 -07:00
Pawel Kadluczka 028bd68bf5 Removing unneeded queryString from TS client 2017-06-06 14:02:01 -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
Pawel Kadluczka e31fc1e57d Closing transports with error if hubs cannot be created
- Preventing from closing long polling transport with 204 in case of
error
- Reporting an error to the client if WebSocket was not closed normally

Note in case of ServerSentEvents it is not possible on the client to
tell the difference between when the server closed event stream due to
an exception or because the client left OnConnectedAsync. In both cases
the client sees only that the stream was closed.

Part of: #163
2017-05-31 16:29:28 -07:00