deeplay-io / nice-grpc

A TypeScript gRPC library that is nice to you

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set channel options in nice-grpc-web

AlexSchwabauer opened this issue · comments

Hi all,

I am wondering how to set channel options in the nice-grpc-web client. It is possible in the nice-grpc implementation.
I am interested in the keepalive option, which is crucial when connecting to a grpc-server hosted in the cloud and may get shut down when the keepalive ping interval is too long.

I figured that neither @improbable-eng/grpc-web nor @grpc/grpc-web seems to support channel options; apparently, this is not something that can be done in the browser?
Closing again- thanks!