pushpin icon indicating copy to clipboard operation
pushpin copied to clipboard

[Question] websocket to gRPC support

Open fenos opened this issue 5 years ago • 2 comments

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?

fenos avatar May 09 '19 12:05 fenos

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?

jkarneges avatar May 09 '19 14:05 jkarneges

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

Textras avatar Jun 24 '20 16:06 Textras