ClientGrpcOperation
class ClientGrpcOperation implements GrpcOperation
Methods
__construct(ServiceMethod $serviceMethod, string $serverAddress, int $serverPort, Metadata $metadata)
Create an outbound gRPC operation description.
ServiceMethod|null
serviceMethod()
Return the recognized service method.
withMetadata(Metadata $metadata)
Replace the outbound metadata for subsequent observers and transport encoding.
Details
at line 14
__construct(ServiceMethod $serviceMethod, string $serverAddress, int $serverPort, Metadata $metadata)
Create an outbound gRPC operation description.
at line 25
ServiceMethod|null
serviceMethod()
Return the recognized service method.
at line 33
Metadata
metadata()
Return the current outbound metadata.
at line 41
ClientGrpcOperation
withMetadata(Metadata $metadata)
Replace the outbound metadata for subsequent observers and transport encoding.