« swoole_version
Swoole\Async::dnsLookup »

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   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