Commit Graph

45 Commits

Author SHA1 Message Date
Andrew Stanton-Nurse 00a6dc983a
Fix #1170 by removing invocationId from non-blocking calls (#1218) 2017-12-19 10:40:58 -08:00
Andrew Stanton-Nurse d2c1138429
fix #1171 by teaching HttpConnection to be restartable in TypeScript (#1211) 2017-12-14 14:59:45 -08:00
Andrew Stanton-Nurse f4bb309994
Implement #1162 by adding client timeout for JavaScript (#1163) 2017-12-05 10:50:22 -08:00
Pawel Kadluczka 18a65496b7 Adding support for JWT in the TS client 2017-11-21 16:32:56 -08:00
Pawel Kadluczka 945710907b
Fixing js end-to-end test after introducing streaminvocation (#1120)
Fixing js end-to-end test after introducing streaminvocation
Fixing hanging tests. Adding debug parameter
2017-11-15 14:06:16 -08:00
Pawel Kadluczka 06475270ec
Actually throwing exceptions from SendAsync (#1084)
SendAsync was using InvokeCoreAsync code to send messages. In case of exception InvokeCoreAsync is blocking and returns a task to the user so they can await for the remote call to complete. Any exception thrown is caught and used to fail the task returned to the user. SendAsync does not return a special task to the user so re-using InvokeCore resulted in swallowing exceptions. While SendAsync is fire and forget it actually should throw if the message could not be send and it was not happening.

While adding tests it turned out we did not test cases where Invoke/SendAsync/StreamAsync were invoked before starting the connection and this resulted in a NullReferenceException. I also fixed that.
2017-11-03 13:15:11 -07:00
Pawel Kadluczka 13757936ad Adding roundtripping test for GUID property 2017-11-02 09:35:39 -07:00
moozzyk 1d2e0fedb0 Enabling byte[] 2017-11-01 15:50:18 -07:00
Pawel Kadluczka 6bddb258cd Adding StreamCompletion message (TS) 2017-10-19 18:20:03 -07:00
Pawel Kadluczka ba1c210f03 Fixing JS end-to-end tests 2017-10-04 12:04:08 -07:00
Pawel Kadluczka 7c90e80b3f Merge branch 'rel/1.0.0-alpha2' into dev 2017-10-02 10:07:16 -07:00
Pawel Kadluczka 70df19c8a2 Fixing MsgPack serializing byte[] as string Part 1
Enabling sending byte[] from server to client.
2017-09-29 17:05:24 -07:00
Pawel Kadluczka 1686878035 Adding JS tests that send and receive structural objects 2017-09-22 17:13:21 -07:00
moozzyk 9ecb6d1d58 Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-21 08:31:53 -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 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
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 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 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
Pawel Kadluczka 66876aa2f8 Making test and samples IE/ES5 aware 2017-08-29 09:26:53 -07:00
Pawel Kadluczka 2a36aa141d Making the client and tests work on IE 2017-08-28 17:06:25 -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 bcd5a1bd6e Filtering out SSE tests for browsers with no EventSource 2017-08-24 15:33:24 -07:00
Pawel Kadluczka e4c1b888ca Adding loggers to TS client 2017-08-23 16:11:47 -07:00
Pawel Kadluczka e349329dc7 Changing length prefixing to separator for JSON TS 2017-08-18 09:50:45 -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
BrennanConroy 0f264e18e9 Fix TS Client tests (#586) 2017-06-24 08:39:07 -07:00
Pawel Kadluczka a14a0ab039 Adding structured negotiate 2017-06-06 15:53:21 -07: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
Andrew Stanton-Nurse 263dd0e4fe Fix #324 by adding streaming support to the server (#461) 2017-05-31 09:10:20 -07:00
Andrew Stanton-Nurse 991c1d8517 Implement new Hub Protocol (Part Deux) (#390)
* convert to new protocol
* removed InvocationDescriptorRegistry because we're not yet sure about custom protocols
* update SocialWeather sample
* Moving ts client to using new protocol
* make the functional tests a little easier to run on ctrl-f5
2017-05-09 12:24:58 -07:00
moozzyk 841ceb24b6 Fixing start/stop race in the TS client 2017-04-07 07:59:43 -07:00
moozzyk ebb2ce8fc9 Converting transport type from string to enum 2017-04-04 14:00:56 -07:00
moozzyk d9faf17f5c * Fixing a racey test
* Fixing a misplaced test file
2017-03-31 13:54:46 -07:00
moozzyk 70e4ec9a06 Introducing the IConnection interface
Unifying events
2017-03-23 16:07:35 -07:00
Pawel Kadluczka a00ec445ef Moving TS client to a dedicated subfolder (#274) 2017-03-09 09:42:59 -08:00