HttpServerAdapter
in
Tags
Table of Contents
Methods
- serve() : void
- Block and serve until shutdown is called.
- shutdown() : void
- Drain in-flight requests within the timeout, then stop.
Methods
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