the API signature, dynamic attached for each gRPC request
A generic gRPC client. Primarily useful as a base class for generated clients
Server address to connect to
Credentials to use to connect to the server
Options to apply to channel creation
the envoy context of this client
the original target remote address (hostname:port)
Close this client.
Return the underlying channel object for the specified client
The channel
Make a bidirectional stream request with this method on the given channel.
The name of the method to request
The serialization function for inputs
The deserialization function for outputs
Array of metadata key/value pairs to add to the call
Options map
An event emitter for stream related events
Make a client stream request to the given method, using the given serialize and deserialize functions, with the given argument.
The name of the method to request
The serialization function for inputs
The deserialization function for outputs
Array of metadata key/value pairs to add to the call
Options map
The callback to for when the response is received
An event emitter for stream related events
Make a server stream request to the given method, with the given serialize and deserialize function, using the given argument
The name of the method to request
The serialization function for inputs
The deserialization function for outputs
The argument to the call. Should be serializable with serialize
Array of metadata key/value pairs to add to the call
Options map
An event emitter for stream related events
Make a unary request to the given method, using the given serialize and deserialize functions, with the given argument.
The name of the method to request
The serialization function for inputs
The deserialization function for outputs
The argument to the call. Should be serializable with serialize
Metadata to add to the call
Options map
The callback to for when the response is received
An event emitter for stream related events
Wait for the client to be ready. The callback will be called when the client has successfully connected to the server, and it will be called with an error if the attempt to connect to the server has unrecoverablly failed or if the deadline expires. This function will make the channel start connecting if it has not already done so.
When to stop waiting for a connection.
The callback to call when done attempting to connect.
Generated using TypeDoc
the envoy client for gRPC