Commit Graph

165 Commits

Author SHA1 Message Date
Andrew Stanton-Nurse bc6ed02b6e
fix the umd build of msgpack (#1600) 2018-03-14 13:40:27 -07:00
Andrew Stanton-Nurse 4fe4757b4a
fix package-lock.json files (#1592) 2018-03-13 18:55:56 -07:00
Andrew Stanton-Nurse fb6121399c
Remove support for binary over SSE and add transfer format to negotiation (#1564) 2018-03-13 14:29:32 -07:00
Andrew Stanton-Nurse 0141d6e4a3
Fix #1580 by correcting README sample (#1581)
Corrects the README sample in @aspnet/signalr-protocol-msgpack to use the proper UMD module name.
2018-03-13 09:51:34 -07:00
Andrew Stanton-Nurse 0eb2b96c45 Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-06 15:58:47 -08:00
Andrew Stanton-Nurse 68f58a8dd5
Fixes for NPM packages in preview1 (#1540) 2018-03-06 15:14:42 -08:00
James Newton-King 846432c9ac
Improve unexpected server error message to client (#1532)
* Improve unexpected server error message to client

* Separated expected vs unexpected errors in error message. Fixed broken tests

* Fix ts functional tests
2018-03-06 22:11:46 +13:00
Olof Dahlbom af9974178b Added test (#1517)
Added test for removal of map key in this.methods in HubConnection
2018-03-01 09:34:28 -08:00
Pavel Krymets 8908eec6e7
Pipelines in corefx (#1501) 2018-02-28 12:42:01 -08:00
Andrew Stanton-Nurse 13b25ec518
Reduce detailed payload logs to trace (#1515) 2018-02-28 10:46:44 -08:00
Olof Dahlbom c4eb501343 Emit warnings after off is called (#1513)
* Emit warnings after off is called

If a handler has been registered, and then gets unregistered, the key/methodname still exists in the map and signalr does not warn about a missing handler. Might be by design, but I like it this way.
2018-02-28 10:10:13 -08:00
BrennanConroy 5cc4f315cb
Fix install text (#1506) 2018-02-27 14:55:11 -08:00
BrennanConroy 1790d6bdf0
Serialize once per format to increase perf in broadcasting scenarios (#1498) 2018-02-27 14:55:00 -08:00
Mikael Mengistu a69d2fedaf
Update the TS Client Poll Timeout (#1499) 2018-02-27 16:53:44 +00:00
Andrew Stanton-Nurse 6a2d41cc9f
Fix #924 by introducing HubDispatcher abstraction (#1479) 2018-02-22 20:59:34 -08:00
Andrew Stanton-Nurse b3a33efeae Update MsgPack-Cli version
* Fixes #1301
* Fixes #1058
* Fixes #1422
2018-02-20 13:57:42 -08:00
Andrew Stanton-Nurse 1bd37cabf0
Make it possible to run the Browser Functional Tests from the command line (#1448) 2018-02-16 10:48:35 -08:00
David Fowler 94155b0e89
Use protocol.abstractions primitives instead of socket abstractions (#1432) 2018-02-10 18:10:09 -08:00
David Fowler 3e568588d2
Revert "Use protocol.abstractions primitives instead of socket abstractions (#1429)" (#1431)
This reverts commit e3f197cef0.
2018-02-10 11:30:41 -08:00
David Fowler e3f197cef0
Use protocol.abstractions primitives instead of socket abstractions (#1429) 2018-02-10 10:45:07 -08:00
David Fowler 28439d1441
Initial changes to move to pipelines (#1424)
- Change the Sockets abstraction from Channel<byte[]> to pipelines.

#615
2018-02-09 17:45:21 -08:00
BrennanConroy 331bf3515d
Add TSLint rule file and fix all violations (#1381) 2018-02-07 15:26:13 -08:00
Andrew Stanton-Nurse 0435b6dc6e
add headers and revamp msgpack tests (#1382) 2018-02-07 09:36:29 -08:00
Andrew Stanton-Nurse f58ea8133b
fix #1387 by removing our hacky EventSource typings (#1393) 2018-02-01 14:13:08 -08:00
Andrew Stanton-Nurse 2625b389b8
fix #1155 by renaming signalRTokenHeader to access_token (#1343) (#1359) 2018-01-28 14:52:28 -08:00
Andrew Stanton-Nurse 6590992c96
fix #1155 by renaming signalRTokenHeader to access_token (#1343) 2018-01-26 09:16:57 -08:00
BrennanConroy a449345436
Clean up logging (#1308) 2018-01-22 09:37:53 -08:00
Andrew Stanton-Nurse 0579f40a7d
Major TypeScript module refactoring (#1319)
* Build cjs, esm and umd versions
* Split MsgPack into separate module
* Split package.jsons up so they can stay clean
* Move common dev dependencies to a root package.json
2018-01-19 14:26:31 -08:00
BrennanConroy d38764a8f0
Rename InvokeAsync to SendAsync on the server (#1312) 2018-01-19 11:32:50 -08:00
Pawel Kadluczka 68aa609650 Setting ContentType in the HTTP responses (#1149)
* Also making auth test work in IE
2018-01-16 11:28:20 -08:00
BrennanConroy a862959566
Support stream cancellation on TS client (#1275) 2018-01-12 10:10:51 -08:00
Andrew Stanton-Nurse 144984e599
Split MsgPack into separate assembly (#1274) 2018-01-10 14:20:57 -08:00
Andrew Stanton-Nurse 44052ffcf6
Refactor HttpClient and use it in LongPollingTransport (#1243) 2018-01-02 16:49:02 -08:00
Nate McMaster 69dc7a4b23 Revert package version to 1.0.0-preview1 and update build tools 2017-12-20 22:42:56 -08:00
Andrew Stanton-Nurse 1bd99f6b67
Initial typescript tidy up (#1239) 2017-12-20 15:59:44 -08:00
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