[Question] websocket to gRPC support
fenos opened this issue · 2 comments
fenos commented
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 commented
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?