« swoole_version
Swoole\Async::dnsLookup »
PHP Manual
Swoole
The Swoole\Async class
検索
The Swoole\Async class
(PECL swoole >= 1.9.0)
はじめに
クラス概要
class
Swoole\Async
{
/* メソッド */
public
static
function
dnsLookup
(
string
$hostname
,
callable
$callback
):
void
public
static
function
read
(
string
$filename
,
callable
$callback
,
int
$chunk_size
= ?
,
int
$offset
= ?
):
bool
public
static
function
readFile
(
string
$filename
,
callable
$callback
):
void
public
static
function
set
(
array
$settings
):
void
public
static
function
write
(
string
$filename
,
string
$content
,
int
$offset
= ?
,
callable
$callback
= ?
):
void
public
static
function
writeFile
(
string
$filename
,
string
$content
,
callable
$callback
= ?
,
string
$flags
= ?
):
void
}
目次
Swoole\Async::dnsLookup
— Async and non-blocking hostname to IP lookup.
Swoole\Async::read
— Read file stream asynchronously.
Swoole\Async::readFile
— Read a file asynchronously.
Swoole\Async::set
— Update the async I/O options.
Swoole\Async::write
— Write data to a file stream asynchronously.
Swoole\Async::writeFile
— Description
関連キーワード:
Swoole
Async
static
callable
callback
filename
dnsLookup
asynchronously
swoole
hostname
read
offset
readFile
write
content
writeFile
Read
stream
概要
chunk
size
settings
flags
目次
blocking
関連する関数・ページ:
swoole-async.readfile
swoole-async.read
swoole-async.write
swoole-async.dnslookup
swoole-async.writefile
swoole-async.set