Call
class Call (View source)
Class Call
Methods
                    __construct(Channel $channel, string $method, Timeval $absolute_deadline, null|string $host_override = null)
        
                                            
                
            Constructs a new instance of the Call class.
                    object
                
                
                    startBatch(array $batch)
        
                                            
                
            Start a batch of RPC actions.
                    int
                
                
                
            
                    string
                
                
                    getPeer()
        
                                            
                
            Get the endpoint this call/stream is connected to
                    cancel()
        
                                            
                
            Cancel the call. This will cause the call to end with STATUS_CANCELLED if it has not already ended with another status.
Details
        
                            
    __construct(Channel $channel, string $method, Timeval $absolute_deadline, null|string $host_override = null)
        
    
    Constructs a new instance of the Call class.
        
                            object
    startBatch(array $batch)
        
    
    Start a batch of RPC actions.
        
                            int
    setCredentials(CallCredentials $creds_obj)
        
    
    Set the CallCredentials for this call.
        
                            string
    getPeer()
        
    
    Get the endpoint this call/stream is connected to
        
                            
    cancel()
        
    
    Cancel the call. This will cause the call to end with STATUS_CANCELLED if it has not already ended with another status.