interface GrpcClient { close () : void ; getChannel () : Channel ; makeBidiStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , metadata : Metadata , options ?: CallOptions , ) : ClientDuplexStream < RequestType , ResponseType > ; makeBidiStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , options ?: CallOptions , ) : ClientDuplexStream < RequestType , ResponseType > ; makeClientStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , metadata : Metadata , options : CallOptions , callback : UnaryCallback < ResponseType > , ) : ClientWritableStream < RequestType > ; makeClientStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , metadata : Metadata | CallOptions , callback : UnaryCallback < ResponseType > , ) : ClientWritableStream < RequestType > ; makeClientStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , callback : UnaryCallback < ResponseType > , ) : ClientWritableStream < RequestType > ; makeServerStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , metadata : Metadata , options ?: CallOptions , ) : ClientReadableStream < ResponseType > ; makeServerStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , options ?: CallOptions , ) : ClientReadableStream < ResponseType > ; makeUnaryRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , metadata : Metadata , options : CallOptions , callback : UnaryCallback < ResponseType > , ) : SurfaceCall ; makeUnaryRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , metadata : Metadata | CallOptions , callback : UnaryCallback < ResponseType > , ) : SurfaceCall ; makeUnaryRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , callback : UnaryCallback < ResponseType > , ) : SurfaceCall ; waitForReady ( deadline : Deadline , callback : ( error ?: Error ) => void ) : void ; } Methodsclose close () : void Returns void get Channel getChannel () : Channel Returns Channel make Bidi Stream Request makeBidiStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , metadata : Metadata , options ?: CallOptions , ) : ClientDuplexStream < RequestType , ResponseType > Parameters method : string serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType metadata : Metadata Optional
options : CallOptions makeBidiStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , options ?: CallOptions , ) : ClientDuplexStream < RequestType , ResponseType > Parameters method : string serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType Optional
options : CallOptions make Client Stream Request makeClientStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , metadata : Metadata , options : CallOptions , callback : UnaryCallback < ResponseType > , ) : ClientWritableStream < RequestType > Parameters method : string serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType metadata : Metadata options : CallOptions callback : UnaryCallback < ResponseType > Returns ClientWritableStream < RequestType > makeClientStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , metadata : Metadata | CallOptions , callback : UnaryCallback < ResponseType > , ) : ClientWritableStream < RequestType > Parameters method : string serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType metadata : Metadata | CallOptions callback : UnaryCallback < ResponseType > Returns ClientWritableStream < RequestType > makeClientStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , callback : UnaryCallback < ResponseType > , ) : ClientWritableStream < RequestType > Returns ClientWritableStream < RequestType > make Server Stream Request makeServerStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , metadata : Metadata , options ?: CallOptions , ) : ClientReadableStream < ResponseType > Parameters method : string serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType argument : RequestType metadata : Metadata Optional
options : CallOptions Returns ClientReadableStream < ResponseType > makeServerStreamRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , options ?: CallOptions , ) : ClientReadableStream < ResponseType > Parameters method : string serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType argument : RequestType Optional
options : CallOptions Returns ClientReadableStream < ResponseType > make Unary Request makeUnaryRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , metadata : Metadata , options : CallOptions , callback : UnaryCallback < ResponseType > , ) : SurfaceCall Returns SurfaceCall makeUnaryRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , metadata : Metadata | CallOptions , callback : UnaryCallback < ResponseType > , ) : SurfaceCall Returns SurfaceCall makeUnaryRequest < RequestType , ResponseType > ( method : string , serialize : ( value : RequestType ) => Buffer < ArrayBufferLike > , deserialize : ( value : Buffer < ArrayBufferLike > ) => ResponseType , argument : RequestType , callback : UnaryCallback < ResponseType > , ) : SurfaceCall Returns SurfaceCall wait For Ready waitForReady ( deadline : Deadline , callback : ( error ?: Error ) => void ) : void Parameters deadline : Deadline callback : ( error ?: Error ) => void Returns void
Interface describing the public API of the gRPC Client class, used to provide better version-to-version type compatibility between gRPC releases. Application code should use a concrete gRPC Client instance.