Represents an active call that sends a single message and then gets a
single response.

public Grpc\AbstractCall::__construct(Grpc\Channel $channel, $method, $deserialize, array $options = [])

Create a new Call wrapper object.

    public Grpc\AbstractCall::cancel()

    Cancels the call.

    public getMetadata()
    • return mixed The metadata sent by the server
    public Grpc\AbstractCall::getPeer()
    • return string The URI of the endpoint
    public Grpc\AbstractCall::getTrailingMetadata()
    • return mixed The trailing metadata sent by the server
    public Grpc\AbstractCall::setCallCredentials( $call_credentials)

    Set the CallCredentials for the underlying Call.

      public start( $data, array $metadata = [], array $options = [])

      Start the call.

        public wait()

        Wait for the server to respond with data and a status.

        • return array [response data, status]
        protected Grpc\AbstractCall::$call
        • var Call
        protected Grpc\AbstractCall::$deserialize
        protected Grpc\AbstractCall::$metadata
        protected Grpc\AbstractCall::$trailing_metadata
        protected Grpc\AbstractCall::_deserializeResponse( $value)

        Deserialize a response value to an object.

        • return mixed The deserialized value
        protected Grpc\AbstractCall::_serializeMessage( $data)

        Serialize a message to the protobuf binary format.

        • return string The protobuf binary format
        © 2020 Bruce Wells
        Search Namespaces \ Classes
        ConfigurationNumbers (0-9.) only