PHP Class Swoole\Protocol\AppServer

Inheritance: extends HttpServer
Mostrar archivo Open project: matyhtf/swoole_framework Class Usage Examples

Protected Properties

Property Type Description
$apps_path
$router_function

Public Methods

Method Description
onRequest ( Request $request ) : Response 处理请求
onStart ( $serv )

Method Details

onRequest() public method

处理请求
public onRequest ( Request $request ) : Response
$request Swoole\Request
return Swoole\Response

onStart() public method

public onStart ( $serv )

Property Details

$apps_path protected_oe property

protected $apps_path

$router_function protected_oe property

protected $router_function