Commit Graph

34 Commits

Author SHA1 Message Date
David Fowler 86083c0302
Removing native support for IObservable<T> (#1890)
- There are too many issues and questions with respect to back pressure and the buffering policy we should use when the client being streamed to can't support the data being pushed via OnNext.
As a result, we're dropping support for IObservable but keeping ChannelReader and we'll eventually support IAsyncEnumerable when that makes it into the BCL.
- Add sample showing Observable -> ChannelReader adaption
2018-04-07 15:10:39 -07:00
Mikael Mengistu e51852d0fc
Use Anchor tag to normalize urls(#1828) 2018-04-04 21:43:25 -07:00
Andrew Stanton-Nurse fccc9d1b50
fix #1815 by disposing linked cts (#1849) 2018-04-04 21:12:21 -07:00
Andrew Stanton-Nurse 313772ef03
fix #1727 by adding polyfills for IE (#1841) 2018-04-04 10:20:38 -07:00
James Newton-King e7b84b753b
Refactor HubConnectionBuilder (#1830) 2018-04-04 21:19:13 +12:00
Andrew Stanton-Nurse 99ae47be09
Add ability to log message content (#1792) 2018-04-03 18:46:25 -07:00
Mikael Mengistu ba0131a731
Rename TransportTypes to HttpTransportTypes (#1839) 2018-04-03 16:00:20 -07:00
David Fowler 5e38303377
Use xhr.onreadystatechange instead of xhr.onload (#1838) 2018-04-03 15:53:16 -07:00
BrennanConroy 221c95e0af Couple logging additions (#1827)
- Added logging in a couple more places in HubConnection
- Increase DEFAULT_TIMEOUT_INTERVAL to 20 seconds
2018-04-02 19:25:47 -07:00
BrennanConroy 6640f14e35
Detailed errors enabled for functional tests (#1822) 2018-04-02 10:42:26 -07:00
David Fowler 0293e53e11
Handle uninitialized connections in disposal (#1786) (#1794)
- We made a change to not initialize pipes up front
on connection creation. That change make it null ref in disposal because we didn't check if the pipes were initialized.
- Added a test
- Also fixed the EchoConnectionHandler in the functional ts tests.
2018-03-30 15:51:48 -07:00
Andrew Stanton-Nurse a92b3a7288 Merge branch 'release/2.1' into dev 2018-03-30 15:26:44 -07:00
Andrew Stanton-Nurse 6b3a27e73c
Bedrock Renames (#1777) 2018-03-30 15:09:19 -07:00
BrennanConroy 12b5e173b3
Merge pull request #1790 from aspnet/release/2.1
Cleanup logs during test (#1787)
2018-03-30 13:34:34 -07:00
BrennanConroy c0418319fe
Cleanup logs during test (#1787) 2018-03-30 13:33:59 -07:00
BrennanConroy ec66d236ac
Merge pull request #1785 from aspnet/release/2.1
Add detailed error option (#1763)
2018-03-30 11:30:44 -07:00
BrennanConroy 44b667b3e6
Add detailed error option (#1763) 2018-03-30 11:30:07 -07:00
James Newton-King 389817c682
Merge pull request #1776 from aspnet/release/2.1
Client logging fixes and improvements (#1773)
2018-03-30 16:25:13 +13:00
James Newton-King 51fb15d6cf
Client logging fixes and improvements (#1773) 2018-03-30 16:24:38 +13:00
Andrew Stanton-Nurse 0285549aaa
Merge pull request #1769 from aspnet/release/2.1
collect log messages during browser tests (#1670)
2018-03-29 10:11:35 -07:00
Andrew Stanton-Nurse a4d0bf2e3a
collect log messages during browser tests (#1670) 2018-03-29 10:11:18 -07:00
David Fowler 4c6c0aa8a4 Merge branch 'release/2.1' into dev 2018-03-27 23:12:00 -07:00
Andrew Stanton-Nurse cfaa123eb8 IConnection refactoring (#1718)
- IConnection is now single-use and HubConnection creates a new instance
for reconnecting
- IConnection is just a Pipe now, no more events
2018-03-27 23:02:07 -07:00
Mikael Mengistu 1fdd6511fa
Merge pull request #1738 from aspnet/release/2.1 2018-03-27 14:08:55 -07:00
Mikael Mengistu 3952eacfaa
Add ability to remove all handlers with just the method name (#1729) 2018-03-27 14:06:56 -07:00
unknown 678265259d Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-26 17:30:38 -07:00
Mikael Mengistu cc52beec17
Fallback for TS client 2018-03-27 00:18:36 +00:00
David Fowler 290f18ac76 Merged release/2.1 2018-03-23 00:06:32 -07:00
David Fowler 2e63e5afe3
The rename games part 1 of many (#1696)
- React to rename of EndPoint to ConnectionHandler
- Rename UseSockets to UseConnections
- Rename MapEndPoint to MapConnectionHandler
- Rename HttpSocketOptions to HttpConnectionOptions
2018-03-22 22:35:55 -07:00
James Newton-King 7479f92303
Merge branch 'release/2.1' into dev 2018-03-23 17:28:25 +13:00
James Newton-King d367bdc9aa
Remove message content from JS client logging (#1694) 2018-03-23 17:24:51 +13:00
BrennanConroy fd54ec2c4f Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-22 15:57:47 -07:00
BrennanConroy a47e1051e8
Add protocol version to handshake (#1666) 2018-03-22 15:54:35 -07:00
BrennanConroy 6d642ea5ce
Move Typescript client folder (#1692) 2018-03-22 15:47:08 -07:00