GRPC PHP  1.36.1
Public Member Functions | Protected Member Functions | Protected Attributes
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...
 

Protected Member Functions

 sendOkResponse ($response)
 

Protected Attributes

 $call
 
 $paths_map
 

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 ( )

◆ sendOkResponse()

Grpc\RpcServer::sendOkResponse (   $response)
protected

Field Documentation

◆ $call

Grpc\RpcServer::$call
protected

◆ $paths_map

Grpc\RpcServer::$paths_map
protected

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