class Server  
 More...
◆ __construct()
      
        
          | Grpc\Server::__construct  | 
          ( | 
            | 
          $args_array | ) | 
           | 
        
      
 
Constructs a new instance of the Server class. 
- Parameters
 - 
  
    | array | $args_array | The arguments to pass to the server (optional)  | 
  
   
 
 
◆ addHttp2Port()
      
        
          | Grpc\Server::addHttp2Port  | 
          ( | 
            | 
          $addr | ) | 
           | 
        
      
 
Add a http2 over tcp listener. 
- Parameters
 - 
  
    | string | $addr | The address to add  | 
  
   
- Returns
 - int Port on success, 0 on failure 
 
 
 
◆ addSecureHttp2Port()
      
        
          | Grpc\Server::addSecureHttp2Port  | 
          ( | 
            | 
          $addr | ) | 
           | 
        
      
 
Add a secure http2 over tcp listener. 
- Parameters
 - 
  
  
 
- Returns
 - int Port on success, 0 on failure 
 
 
 
◆ requestCall()
      
        
          | Grpc\Server::requestCall  | 
          ( | 
           | ) | 
           | 
        
      
 
Request a call on a server. 
Creates a single GRPC_SERVER_RPC_NEW event. 
- Returns
 - void 
 
 
 
◆ start()
Start a server - tells all listeners to start listening. 
- Returns
 - void 
 
 
 
The documentation for this class was generated from the following file: