PHP Трейт Google\Cloud\GrpcTrait

Наследование: use trait ArrayTrait
Показать файл Открыть проект

Открытые методы

Метод Описание
send ( callable $request, array $args ) : array Delivers a request.
setRequestWrapper ( GrpcRequestWrapper $requestWrapper ) Sets the request wrapper.

Приватные методы

Метод Описание
formatLabelsForApi ( array $labels ) : array Format a set of labels for the API.
formatListForApi ( array $list ) : array Format a list for the API.
formatStructForApi ( array $fields ) : array Format a struct for the API.
formatTimestampFromApi ( array $timestamp ) : string Format a gRPC timestamp to match the format returned by the REST API.
formatValueForApi ( array $value ) : array Format a value for the API.
getGaxConfig ( ) : array Gets the default configuration for generated GAX clients.

Описание методов

send() публичный Метод

Delivers a request.
public send ( callable $request, array $args ) : array
$request callable
$args array
Результат array

setRequestWrapper() публичный Метод

Sets the request wrapper.
public setRequestWrapper ( GrpcRequestWrapper $requestWrapper )
$requestWrapper GrpcRequestWrapper