Extends
lithium\net\SocketA Curl-based socket adapter
This curl adapter provides the required method implementations of the abstract Socket class for `open`, `close`, `read`, `write`, `timeout` `eof` and `encoding`. Your PHP installation must have been compiled with the `--with-curl[=DIR]` directive. If this is not the case, you must either recompile PHP with the proper configuration flags to enable curl, or you may use the `Stream` adapter that is also included with the Lithium core.