new Client(address, credentials, options, updateMetadataopt)
Create a client with the given methods
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
address |
string | The address of the server to connect to | |
credentials |
grpc.Credentials | Credentials to use to connect to the server | |
options |
Object | Options to pass to the underlying channel | |
updateMetadata |
function |
<optional> |
function to update the metadata for each request |
- Source: