Google API Core Client - Class TransportInterface (1.42.4)

Reference documentation and code samples for the Google API Core Client class TransportInterface.

Classes which implement this interface in this package:

Namespace

Google \ ApiCore \ Transport

Methods

startBidiStreamingCall

Starts a bidi streaming call.

Parameters
Name Description
call Google\ApiCore\Call
options array
Returns
Type Description
Google\ApiCore\BidiStream

startClientStreamingCall

Starts a client streaming call.

Parameters
Name Description
call Google\ApiCore\Call
options array
Returns
Type Description
Google\ApiCore\ClientStream

startServerStreamingCall

Starts a server streaming call.

Parameters
Name Description
call Google\ApiCore\Call
options array
Returns
Type Description
Google\ApiCore\ServerStream

startUnaryCall

Returns a promise used to execute network requests.

Parameters
Name Description
call Google\ApiCore\Call
options array
Returns
Type Description
GuzzleHttp\Promise\PromiseInterface

close

Closes the connection, if one exists.

Returns
Type Description
void