Starting with the swowt
2.0.4 release, a tcp server implementation is provided in the swoft package. Based on the original swoole server, the function is encapsulated and refined.
- Swoft-based annotation system, easy to use and fast
- Provide uniform protocol settings, support both EOF and length
- Complete data transceiving and parsing, unified context/request and response object encapsulation
- Built-in request scheduling processing, you can distribute request data to different methods like http.
- Built-in supports a variety of packaging methods (
token), and can be freely extended.
composer require swoft/tcp-server
- Tcp data protocol https://github.com/swoft-cloud/swoft-tcp
- Tcp-server https://github.com/swoft-cloud/swoft-tcp-server
Participate in the contribution
Welcome to participate in the contribution, you can