Abstract
Constants
public Grpc\Gcp\GcpBaseCall::BIND = 'BIND'
public Grpc\Gcp\GcpBaseCall::BOUND = 'BOUND'
public Grpc\Gcp\GcpBaseCall::UNBIND = 'UNBIND'
Methods
public __construct( $channel, $method, $deserialize, $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 $_affinity
      protected $affinity_key
      protected $argument
      protected $channel_ref
      protected $gcp_channel
      protected $has_real_call
      protected $metadata
      protected $metadata_rpc
      protected $method
      protected $options
      protected $real_call
      Methods
      protected _deserializeResponse( $value)
       

      Deserialize a response value to an object.

      • return mixed The deserialized value
      protected _rpcPostProcess( $status, $response)
       

      Update ChannelRef when RPC finishes.

        protected _rpcPreProcess( $argument)
         

        Pick a ChannelRef from the channel pool based on the request and
        the affinity config.

        protected _serializeMessage( $data)
         

        Serialize a message to the protobuf binary format.

        • return string The protobuf binary format
        protected getAffinityKeyFromProto( $proto)
         

        Get the affinity key based on the affinity config.

        • return string Affinity key.
        © 2020 Bruce Wells
        Search Namespaces \ Classes
        ConfigurationNumbers (0-9.) only