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

[Question] websocket to gRPC support #47668

Open
fenos opened this issue May 9, 2019 · 2 comments
Open

[Question] websocket to gRPC support #47668

fenos opened this issue May 9, 2019 · 2 comments

Comments

@fenos
Copy link

fenos commented May 9, 2019

Hi! This is an amazing project thanks for building it.

I was wondering if there was any intention of supporting the gRPC protocol going forward; or if there is already a way for pushpin to reverse proxy to a gRPC server?

@jkarneges
Copy link
Member

We're considering supporting gRPC client connections, but we haven't thought about proxying to a gRPC server.

It sounds like your goal is to control WebSocket client connections using a gRPC backend? Since gRPC is based on HTTP/2, and Pushpin is capable of speaking to servers via HTTP/2, you might be almost the way there. For example, maybe if you use a WebSocket URL path like /servicename/methodname, then when Pushpin makes a POST to the server you'll receive it as a gRPC call?

@Textras
Copy link

Textras commented Jun 24, 2020

We are about to do this using. How did it go for you @fenos ?

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