Call
abstract class Call
Methods
Create an active call around its initial transport attempt.
Return the normalized peer authority selected for this call.
Cancel this logical call.
Resolve and cache a unary response for every concurrent waiter.
Read and deserialize the next response message.
Claim this call's single streaming response reader.
Release this call's streaming response reader.
Configure client-streaming request writes.
Write one client-streaming request message.
Half-close the client-streaming request body.
Finish a dropped call and release its unfinished native resources.
Details
at line 87
protected
__construct(StreamState $state, string $method, string $peer, array|callable $deserialize, Deadline $deadline, RetryPolicy|null $retryPolicy = null, Closure|null $attemptFactory = null, RetryBackoff|null $retryBackoff = null, GrpcOperationHandle|null $operationHandle = null)
Create an active call around its initial transport attempt.
at line 123
Metadata
metadata()
Return the server's initial metadata.
at line 169
Metadata
trailers()
Return the server's trailing metadata.
at line 200
Status
status()
Return the final gRPC status without throwing for an RPC error.
at line 230
string
peer()
Return the normalized peer authority selected for this call.
at line 238
void
cancel()
Cancel this logical call.
at line 283
protected Message
waitForUnaryResponse()
Resolve and cache a unary response for every concurrent waiter.
at line 336
protected Message|null
readResponse()
Read and deserialize the next response message.
at line 346
protected void
beginReading()
Claim this call's single streaming response reader.
at line 358
protected void
endReading()
Release this call's streaming response reader.
at line 366
protected void
configureWriter(Connection $connection, FrameEncoder $requestEncoder, Compression $requestCompression)
Configure client-streaming request writes.
at line 388
protected void
writeRequest(Message $message)
Write one client-streaming request message.
at line 452
protected void
finishWrites()
Half-close the client-streaming request body.
at line 967
__destruct()
Finish a dropped call and release its unfinished native resources.