grpc-websocket-proxy
grpc-websocket-proxy copied to clipboard
Doesn't work with grpc-gateway/v2/runtime
Doesn't work with grpc-gateway/v2/runtime
I was unable to start with v2. Is there an example of the work?
The connection attempt ends
{
"code": 12,
"message": "Method Not Allowed",
"details": []
}
@FlymeDllVa You must override the underlying http method for the proxied request with something like method=POST.
For example:ws://localhost:50001/fooservice.v1.GameServerService/SyncState?method=POST
Arguably this library should do that automatically because I believe all streaming grpc-gateway endpoints only accept POST.