Http server

Based on the \Swoole\Http\Server implementation of the coroutine HTTP service, the framework layer is well encapsulated, users can write code according to the traditional MVC way, you can get the ultra-high performance brought by the coroutine.

Http life cycle

Http life cycle

Understand the request life cycle, help understand the components of the HTTP service, and write better code.

Features

  • PSR-7-based HTTP message implementation
  • Middleware based on PSR-15
  • @Controller flexible controller annotation
  • @RequestMapping flexible routing annotation
/docs/2.x/en/http-server/index.html
progress-bar