Global

Members

callError

Call error name to code number mapping
Source:

Credentials

Credentials factories
Source:

getClientChannel

Source:
See:

makeGenericClientConstructor

Source:
See:

Metadata

Source:
See:

propagate

Propagate flag name to number mapping
Source:

Server

Source:
See:

ServerCredentials

ServerCredentials factories
Source:

status

Status name to code number mapping
Source:

waitForClientReady

Source:
See:

writeFlags

Write flag name to code number mapping
Source:

Methods

getGoogleAuthDelegate(credential) → {function}

Get a function that a client can use to update metadata with authentication information from a Google Auth credential object, which comes from the google-auth-library.
Parameters:
Name Type Description
credential Object The credential object to use
Source:
Returns:
Metadata updater function
Type
function

load(filename, formatopt) → {Object.<string, *>}

Load a gRPC object from a .proto file.
Parameters:
Name Type Attributes Description
filename string The file to load
format string <optional>
The file format to expect. Must be either 'proto' or 'json'. Defaults to 'proto'
Source:
Returns:
The resulting gRPC object
Type
Object.<string, *>

loadObject(value) → {Object.<string, *>}

Load a gRPC object from an existing ProtoBuf.Reflect object.
Parameters:
Name Type Description
value ProtoBuf.Reflect.Namespace The ProtoBuf object to load.
Source:
Returns:
The resulting gRPC object
Type
Object.<string, *>