Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add test automation to parity pub / sub #527

Open
juanfranblanco opened this issue Mar 7, 2019 · 2 comments
Open

Feature: Add test automation to parity pub / sub #527

juanfranblanco opened this issue Mar 7, 2019 · 2 comments
Labels
Add to backlog Item not added yet to the backlog in Azure dev ops

Comments

@juanfranblanco
Copy link
Member

Parity provides custom support for pub / sub methods using https://wiki.parity.io/JSONRPC-parity_pubsub-module.

This can be implemented using the WebSocketStreaming providing as an input the buildrequest output of an rpc call.

Subscription / unsubscription is the same only the method names are different.

@juanfranblanco
Copy link
Member Author

Simple example of implementation:
https://github.com/Nethereum/Nethereum/blob/master/src/Nethereum.JsonRpc.WebSocketStreamingClient/EthNewPendingTransactionObservableSubscription.cs

Only requires a new Subscribe request for parity and an unsubscribe request.

@juanfranblanco juanfranblanco added Add to backlog Item not added yet to the backlog in Azure dev ops Parity rpc labels Mar 7, 2019
@juanfranblanco
Copy link
Member Author

996775e

Needs tests automation

@juanfranblanco juanfranblanco changed the title Feature: Add support for parity pub / sub Feature: Add test automation to parity pub / sub May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add to backlog Item not added yet to the backlog in Azure dev ops
Projects
None yet
Development

No branches or pull requests

1 participant