(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Klassenbeschreibung
Swoole\Http\Client
{
public addFile
(
string $path
,
string $name
[,
string $type
[,
string $filename
[,
string $offset
]]] ) :
void
public close
(
void
) :
void
public download
(
string $path
,
string $file
,
callable $callback
[,
integer $offset
] ) :
void
public execute
(
string $path
,
string $callback
) :
void
public get
(
string $path
,
callable $callback
) :
void
public on
(
string $event_name
,
callable $callback
) :
void
public post
(
string $path
,
string $data
,
callable $callback
) :
void
public push
(
string $data
[,
string $opcode
[,
string $finish
]] ) :
void
public set
(
array $settings
) :
void
public setData
(
string $data
) :
ReturnType
public upgrade
(
string $path
,
string $callback
) :
void
}
Eigenschaften
- errCode
-
- sock
-