interface GrpcClient { close ( ) : void ; getChannel ( ) : Channel ; makeBidiStreamRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
metadata : Metadata ,
options ?: CallOptions ) : ClientDuplexStream < RequestType , ResponseType > ; makeBidiStreamRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
options ?: CallOptions ) : ClientDuplexStream < RequestType , ResponseType > ; makeClientStreamRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
metadata : Metadata ,
options : CallOptions ,
callback : UnaryCallback < ResponseType > ) : ClientWritableStream < RequestType > ; makeClientStreamRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
metadata : Metadata | CallOptions ,
callback : UnaryCallback < ResponseType > ) : ClientWritableStream < RequestType > ; makeClientStreamRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
callback : UnaryCallback < ResponseType > ) : ClientWritableStream < RequestType > ; makeServerStreamRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
argument : RequestType ,
metadata : Metadata ,
options ?: CallOptions ) : ClientReadableStream < ResponseType > ; makeServerStreamRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
argument : RequestType ,
options ?: CallOptions ) : ClientReadableStream < ResponseType > ; makeUnaryRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
argument : RequestType ,
metadata : Metadata ,
options : CallOptions ,
callback : UnaryCallback < ResponseType > ) : SurfaceCall ; makeUnaryRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
argument : RequestType ,
metadata : Metadata | CallOptions ,
callback : UnaryCallback < ResponseType > ) : SurfaceCall ; makeUnaryRequest < RequestType , ResponseType > ( method : string ,
serialize : ( ( value : RequestType ) => Buffer ) ,
deserialize : ( ( value : Buffer ) => ResponseType ) ,
argument : RequestType ,
callback : UnaryCallback < ResponseType > ) : SurfaceCall ; waitForReady ( deadline : Deadline ,
callback : ( ( error ?: Error ) => void ) ) : void ; } Methodsclose close ( ) : void Returns void get Channel get Channel ( ) : Channel Returns Channel make Bidi Stream Request make Bidi Stream Request < RequestType , ResponseType > ( method , serialize , deserialize , metadata , options ? ) : ClientDuplexStream < RequestType , ResponseType > Parameters method : string serialize : ( ( value : RequestType ) => Buffer ) ( value ) : Buffer Returns Buffer deserialize : ( ( value : Buffer ) => ResponseType ) metadata : Metadata Optional
options : CallOptions make Bidi Stream Request < RequestType , ResponseType > ( method , serialize , deserialize , options ? ) : ClientDuplexStream < RequestType , ResponseType > Parameters method : string serialize : ( ( value : RequestType ) => Buffer ) ( value ) : Buffer Returns Buffer deserialize : ( ( value : Buffer ) => ResponseType ) Optional
options : CallOptions make Client Stream Request make Client Stream Request < RequestType , ResponseType > ( method , serialize , deserialize , metadata , options , callback ) : ClientWritableStream < RequestType > Parameters method : string serialize : ( ( value : RequestType ) => Buffer ) ( value ) : Buffer Returns Buffer deserialize : ( ( value : Buffer ) => ResponseType ) metadata : Metadata options : CallOptions callback : UnaryCallback < ResponseType > Returns ClientWritableStream < RequestType > make Client Stream Request < RequestType , ResponseType > ( method , serialize , deserialize , metadata , callback ) : ClientWritableStream < RequestType > Parameters method : string serialize : ( ( value : RequestType ) => Buffer ) ( value ) : Buffer Returns Buffer deserialize : ( ( value : Buffer ) => ResponseType ) metadata : Metadata | CallOptions callback : UnaryCallback < ResponseType > Returns ClientWritableStream < RequestType > make Client Stream Request < RequestType , ResponseType > ( method , serialize , deserialize , callback ) : ClientWritableStream < RequestType > Returns ClientWritableStream < RequestType > make Server Stream Request make Server Stream Request < RequestType , ResponseType > ( method , serialize , deserialize , argument , metadata , options ? ) : ClientReadableStream < ResponseType > Parameters method : string serialize : ( ( value : RequestType ) => Buffer ) ( value ) : Buffer Returns Buffer deserialize : ( ( value : Buffer ) => ResponseType ) argument : RequestType metadata : Metadata Optional
options : CallOptions Returns ClientReadableStream < ResponseType > make Server Stream Request < RequestType , ResponseType > ( method , serialize , deserialize , argument , options ? ) : ClientReadableStream < ResponseType > Parameters method : string serialize : ( ( value : RequestType ) => Buffer ) ( value ) : Buffer Returns Buffer deserialize : ( ( value : Buffer ) => ResponseType ) argument : RequestType Optional
options : CallOptions Returns ClientReadableStream < ResponseType > make Unary Request make Unary Request < RequestType , ResponseType > ( method , serialize , deserialize , argument , metadata , options , callback ) : SurfaceCall Returns SurfaceCall make Unary Request < RequestType , ResponseType > ( method , serialize , deserialize , argument , metadata , callback ) : SurfaceCall Returns SurfaceCall make Unary Request < RequestType , ResponseType > ( method , serialize , deserialize , argument , callback ) : SurfaceCall Returns SurfaceCall wait For Ready wait For Ready ( deadline , callback ) : void Parameters deadline : Deadline callback : ( ( error ?: Error ) => void ) ( error ? ) : void Returns 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.