amphp/websocket-server

Websocket example implementation needs to be updated to the latest amphp/http* packages

krlv opened this issue · 0 comments

krlv commented

Current websocket example implementation (examples/stackexchange-questions) is failing with errors because it relies on a previous version of amphp/http-server. Following changes should be considered:

  • http server v0.8 requires logger instance
  • Amp\Http\Server\StaticContent\DocumentRoot has moved to amphp/http-server-static-content package
  • Amp\Http\Server\Router has moved to amphp/http-server-router package

Originally issue was reported to amphp/http-server#265 by @proArtex