diff --git a/client/client.go b/client/client.go index 0894f0e..10eb018 100644 --- a/client/client.go +++ b/client/client.go @@ -96,6 +96,7 @@ func (c *Client) Dial(ctx context.Context, prm PrmDial) error { client.WithDialTimeout(prm.DialTimeout), client.WithRWTimeout(prm.StreamTimeout), client.WithGRPCDialOptions(prm.GRPCDialOptions), + client.WithGRPCCallOptions(prm.GRPCCallOptions), )...) c.setFrostFSAPIServer((*coreServer)(&c.c)) @@ -213,6 +214,7 @@ type PrmDial struct { StreamTimeout time.Duration GRPCDialOptions []grpc.DialOption + GRPCCallOptions []grpc.CallOption } // SetServerURI sets server URI in the FrostFS network.