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

http2 #4

Open
shanejonas opened this issue Feb 20, 2019 · 5 comments
Open

http2 #4

shanejonas opened this issue Feb 20, 2019 · 5 comments

Comments

@shanejonas
Copy link

shanejonas commented Feb 20, 2019

any plans to support http2 as a transport?

@koorchik
Copy link
Owner

Hi, we are going to implement transport that will allow mount Mole RPC Server to express.js endpoint (as middleware). In this case, you can run express on top of http2

@shanejonas
Copy link
Author

any solution for the client?

@koorchik
Copy link
Owner

client transport will be built on top of "fetch" (isomorphic-fetch). So, in browser it will support http2 but in nodejs, I am not sure that node-fetch uses http2.

In case it is rather easy to add extra client transport built on top of node "http2" module

@shanejonas
Copy link
Author

Awesome. Thanks, wasn't aware browser fetch needed no changes for http2.

@darrencruse
Copy link

was looking at mole rpc love the different transports provided and the examples provided with the transports look pretty simple and nice compared to some of the other json rpc libraries I looked at

but I don't see an http transport listed here:
https://www.npmjs.com/search?q=keywords:mole-transport

did the express.js transport mentioned above never get implemented?

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

3 participants