Skip to content
Convenient API for asynchronous operations in PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
CurlAsync.php
MysqliAsync.php
readme.txt

readme.txt

MysqliAsync - Convenient API for asynchronous queries in PHP 5.3+
CurlAsync - Convenient API for asynchronous HTTP connections using CURL in PHP 5+



MysqliAsync API:

$db = new MysqliAsync([$host, [$username, [$passwd, [$dbname, [$port, [$socket]]]]]])
- specify default credentials

$db->$name($query, [$credentials])
- execute query
- $credentials are merged with defaults

$mysqli_result = $db->$name()
- get results of query identified by $name



CurlAsync API:

$http = new CurlAsync

$http->$name($url)
- execute request

$string = $http->$name()
- get result of request identified by $name



Czech articles:

http://php.vrana.cz/asynchronni-dotazy-v-mysqli.php
http://php.vrana.cz/asynchronni-dotazy-v-curl.php
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.