ServerStreamingCallWrapper
class ServerStreamingCallWrapper implements ServerStreamingCallInterface (View source)
Class ServerStreamingCallWrapper implements \Google\ApiCore\ServerStreamingCallInterface.
This is essentially a wrapper class around the \Grpc\ServerStreamingCall.
Methods
__construct(ServerStreamingCall|GCPServerStreamCall $stream)
No description
void
start(mixed $data, array $metadata = [], array $callOptions = [])
Start the call.
mixed
responses()
No description
mixed
getMetadata()
No description
mixed
getTrailingMetadata()
No description
string
getPeer()
No description
void
cancel()
Cancels the call.
void
setCallCredentials(mixed $call_credentials)
Set the CallCredentials for the underlying Call.
Details
__construct(ServerStreamingCall|GCPServerStreamCall $stream)
No description
void
start(mixed $data, array $metadata = [], array $callOptions = [])
Start the call.
mixed
responses()
No description
stdClass
getStatus()
Return the status of the server stream.
mixed
getMetadata()
No description
mixed
getTrailingMetadata()
No description
string
getPeer()
No description
void
cancel()
Cancels the call.
void
setCallCredentials(mixed $call_credentials)
Set the CallCredentials for the underlying Call.