Closed mame82 closed 5 years ago
The failing test on git diff --exit-code
is weird, because I can't spot anything in the results which was caused by my changes. Hope you can handle this for me
The failure is just a dependency change - it looks like all the tests passed otherwise. I will just clean it up a little bit and merge it, you've done all the hard work :).
I changed it from a DialOption
to a CallOption
so it can be set per-call. In your case you could use it for that single call or you can use grpcweb.WithDefaultCallOptions(grpcweb.ForceWebsocketTransport())
when dialling. Also added some tests, and it works :).
Works well. Thx so much !
As discussed, PR to enable WebSocket usage globally on Client creation via
DialOption
.Example usage for a service called
P4WNP1
: