GRPC PHP  1.38.0
Public Member Functions
Grpc\RpcServer Class Reference

Public Member Functions

 handle ($service)
 Add a service to this server. More...
 
 run ()
 
- Public Member Functions inherited from Grpc\Server
 __construct ($args_array)
 Constructs a new instance of the Server class. More...
 
 requestCall ()
 Request a call on a server. More...
 
 addHttp2Port ($addr)
 Add a http2 over tcp listener. More...
 
 addSecureHttp2Port ($addr)
 Add a secure http2 over tcp listener. More...
 
 start ()
 Start a server - tells all listeners to start listening. More...
 

Member Function Documentation

◆ handle()

Grpc\RpcServer::handle (   $service)

Add a service to this server.

Parameters
Object$serviceThe service to be added

◆ run()

Grpc\RpcServer::run ( )

The documentation for this class was generated from the following file: