Commit Graph

130 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
Geovanny Alzate Sandoval 31ef3c49df Makes MapHub and MapEndpoint consistent with other ASP.NET Core APIs using PathString. #1188 2017-12-13 09:14:36 -08:00
Pawel Kadluczka 66ab939cff Making HttpConnection restartable (C#) (#1147)
🎉
2017-12-12 10:08:42 -08:00
Andrew Stanton-Nurse f4bb309994
Implement #1162 by adding client timeout for JavaScript (#1163) 2017-12-05 10:50:22 -08:00
Andrew Stanton-Nurse c1d2024864
Implement #1156 by having the server send Ping messages (#1161) 2017-12-04 14:43:27 -08:00
Pranav K 887e22ec07 Eclipse S.T.Tasks.Extension version referenced by S.T.Channels 2017-11-22 19:53:01 -08:00
Pawel Kadluczka a4dd0cd9d7 JWT JS Sample 2017-11-21 16:32:56 -08:00
Pawel Kadluczka 18a65496b7 Adding support for JWT in the TS client 2017-11-21 16:32:56 -08:00
BrennanConroy 93cbf4dbef
Change negotiate to POST (#1122) 2017-11-17 15:31:47 -08:00
Pranav K 439f2a7892 Update samples and tests to target netcoreapp2.1 2017-11-16 13:38:46 -08:00
Andrew Stanton-Nurse cb3124be17
First pass at Keep Alive (#1119)
This adds the Ping message type and support for sending/receiving it in the Hub Protocols. It does not add the logic to transmit keep-alive frames.
2017-11-16 09:45:13 -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
BrennanConroy 792745ad98 React to CoreFxLab packages (#998) 2017-11-13 15:05:35 -08:00
Pawel Kadluczka ff12b9b20c Replacing StreamCompletion with StreamInvocation 2017-11-13 10:50:15 -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
Nate McMaster e15a38a14c Pin package and tool versions to make build more repeatable 2017-11-01 16:40:51 -07:00
moozzyk 1d2e0fedb0 Enabling byte[] 2017-11-01 15:50:18 -07:00
Pawel Kadluczka 4d6383727a Updating jasmine
Needed for typed array verification
2017-11-01 15:50:18 -07:00
moozzyk 52862b23d7 Updating msgpack5 to the latest version 2017-11-01 15:50:18 -07:00
Pawel Kadluczka caff492cdc Removing sending OPTIONS request if WebSocket transport requested (#1036)
Removing sending OPTIONS request if WebSocket transport requested

This removes session stickiness requirement for WebSockets

Fixes: #1035
2017-10-23 10:28:33 -07:00
Pawel Kadluczka 6bddb258cd Adding StreamCompletion message (TS) 2017-10-19 18:20:03 -07:00
Pawel Kadluczka 236aa63467 Don't build TS client needlessly (#1034) 2017-10-18 22:49:44 -07:00
RoBackman a709158e8a Summary of changes\n\t- Improved logging to browser console\n\nAddresses #802 2017-10-16 10:29:17 -07:00
BrennanConroy de535422d7 Optional error and complete functions for observables (#1000) 2017-10-10 16:42:50 -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 05da66ada0 Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-28 17:52:25 -07:00
Pawel Kadluczka 602ca479b8 Checking if window.document defined before trying to resolve url 2017-09-28 17:01:34 -07:00
Pawel Kadluczka 4f4fb174ea Replacing 8-byte-long length prefix with varint 2017-09-28 17:00:49 -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 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
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
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 30f16fcf4b Merge branch 'rel/1.0.0-alpha1' into dev 2017-09-12 13:45:56 -07:00
BrennanConroy 2d4b2239a9 Reduce C# client logging and add HubProtocol log (#857) 2017-09-12 13:45:11 -07:00
Pawel Kadluczka 0557319870 Merge branch 'rel/1.0.0-alpha1' into dev 2017-09-11 21:31:02 -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