Class AbstractCall.

  • package Grpc
Abstract
Methods
public __construct(Grpc\Channel $channel, $method, $deserialize, array $options = [])
 
Create a new Call wrapper object.

    public cancel()
     
    Cancels the call.

    public getMetadata()
     


    • return mixed The metadata sent by the server
    public getPeer()
     


    • return string The URI of the endpoint
    public getTrailingMetadata()
     


    • return mixed The trailing metadata sent by the server
    public setCallCredentials( $call_credentials)
     
    Set the CallCredentials for the underlying Call.

      Properties
      protected $call
       


      • var Call
      protected $deserialize
      protected $metadata
      protected $trailing_metadata
      Methods
      protected _deserializeResponse( $value)
       
      Deserialize a response value to an object.

      • return mixed The deserialized value
      protected _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