Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

expose isConnected() from transport #2225

Merged
merged 16 commits into from
Sep 21, 2016
Merged

Conversation

jacogr
Copy link
Contributor

@jacogr jacogr commented Sep 21, 2016

https://github.com/ethcore/parity/issues/2222

Allows us to show a status in the UI & additionally have the ability to actually have the status of the underlying connection - in the case of WS, the state may change based on tokens updated.

Additionally, also fixes the API E2E tests.

@jacogr jacogr added A0-pleasereview 🤓 Pull request needs code review. M6-rpcapi 📣 RPC API. labels Sep 21, 2016
@parity-cla-bot
Copy link

It looks like this contributor signed our Contributor License Agreement. 👍

Many thanks,

Ethcore CLA Bot

@derhuerst
Copy link
Contributor

I looked over it and it looks okay, although I don't know enough about the jsapi to tell if things could be laid out better.

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Sep 21, 2016
gavofyork pushed a commit that referenced this pull request Sep 21, 2016
* add loggins & missing methods

* Use Webscoket transport for API calls (built-in only)

* style revert

* debug comment removal

* reconnection cleanups

* proper send success

* proper logging of error

* simplify sending, error via onError (not try/catch)

* fixup e2e tests

* expose isConnected

* expose isConnected

* WS handles new RPCBase interface

* merge conflicts
@gavofyork gavofyork merged commit 5deaa66 into js Sep 21, 2016
@gavofyork gavofyork deleted the jg-api-transport-isConnected branch September 21, 2016 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M6-rpcapi 📣 RPC API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants