29 lines
1.1 KiB
Markdown
29 lines
1.1 KiB
Markdown
|
# php-asio
|
||
|
|
||
|
[![Travis-CI](https://travis-ci.org/CismonX/php-asio.svg?branch=master)](https://travis-ci.org/CismonX/php-asio)
|
||
|
[![MIT license](https://img.shields.io/badge/licence-MIT-blue.svg)](https://opensource.org/licenses/MIT)
|
||
|
|
||
|
## 1. About
|
||
|
|
||
|
This extension is a PHP wrapper for the Boost.Asio library, which provides a high-performance event-driven model for network I/O.
|
||
|
|
||
|
Now php-asio is **in development**, do not use it in production.
|
||
|
|
||
|
Bug reports and pull requests are welcome.
|
||
|
|
||
|
## 2. Documentation
|
||
|
|
||
|
See the [Wiki](https://github.com/CismonX/php-asio/wiki) page for documentation.
|
||
|
|
||
|
Signatures of classes and functions can be found within [stubs/](stubs/) directory, with PHPDoc.
|
||
|
|
||
|
There are also some test cases in the [tests/](tests/) directory.
|
||
|
|
||
|
## 3. TODO list
|
||
|
|
||
|
* Fix memory leak. (Priority: **high**)
|
||
|
* Multi-threading support. (Priority: **medium**)
|
||
|
* Add support for serial ports. (Priority: **low**)
|
||
|
* Add socket `onReadable()` `onWritable()` `onError()` methods (with Boost version 1.66 and above). (Priority: **low**)
|
||
|
* Add support for Windows. (Priority: **low**)
|