SwooleHttpServerAdapter
in package
implements
HttpServerAdapter
FinalYes
Tags
Table of Contents
Interfaces
Methods
- __construct() : mixed
- serve() : void
- Block and serve until shutdown is called.
- shutdown() : void
- Drain in-flight requests within the timeout, then stop.
Methods
__construct()
public
__construct(Server $server) : mixed
Parameters
- $server : Server
serve()
Block and serve until shutdown is called.
public
serve(RequestHandlerInterface $app) : void
Parameters
- $app : RequestHandlerInterface
shutdown()
Drain in-flight requests within the timeout, then stop.
public
shutdown(Duration $timeout) : void
Parameters
- $timeout : Duration