This release is compatible with amphp/http-server@^3
.
DocumentRoot
now requires an instance ofHttpServer
andErrorHandler
to construct- Removed
DocumentRoot::onStart()
andDocumentRoot::onStop()
, as it's now internally registered - Removed support for
ServerObserver
, as it's been removed fromamphp/http-server
- Added
StaticResource
to serve a single static file