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

Accessing the transport from inside a handler #10

Open
lvh opened this issue Nov 20, 2013 · 2 comments
Open

Accessing the transport from inside a handler #10

lvh opened this issue Nov 20, 2013 · 2 comments

Comments

@lvh
Copy link

lvh commented Nov 20, 2013

It doesn't look like it's possible with the current code/interfaces, but I need to access the transport over which JSON-RPC bytes are being sent. I need this because of /reasons/.

These reasons include multiplexing stream transports over JSON-RPC, like I sort-of did for AMP.

My apologies for the reference. I promised @habnabit.

@habnabit
Copy link
Contributor

I'm not entirely convinced that this is sensible to do over JSON-RPC since it's not a bidirectional protocol. Do you have something in particular in mind for how this would look on the wire?

@lvh
Copy link
Author

lvh commented Nov 20, 2013

I'm not considering serializing it/sending it over the wire. I just want to get details of the transport :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants