class GrpcConstants

Holds constants necessary for interacting with gRPC.

Methods

static 
getStatusCodeNames()

Provides an array that maps from status code name to an object representing that status code.

static array
getStatusCodesToNamesMap()

Provides an array that maps from status codes to status names.

static int
getCodeFromStatusName(string $name)

No description

static string
getStatusNameFromCode(int $code)

No description

Details

at line 81
static getStatusCodeNames()

Provides an array that maps from status code name to an object representing that status code.

at line 93
static array getStatusCodesToNamesMap()

Provides an array that maps from status codes to status names.

Return Value

array

at line 105
static int getCodeFromStatusName(string $name)

Parameters

string $name

Return Value

int

at line 118
static string getStatusNameFromCode(int $code)

Parameters

int $code

Return Value

string