Méthode | Description | |
---|---|---|
data ( ) : string | Result Data | |
error ( ) : boolean | Error status | |
file ( string $field, string $path, string $type, string $name ) : self | File upload | |
info ( ) : array | Task info | |
init ( ) : self | Instance | |
message ( ) : string | Error message | |
post ( array | string $data, null | string $value = null ) : self | Set POST data | |
retry ( integer $times ) : self | Set retry times | |
save ( string $path ) : self | Save file | |
set ( array | string $item, null | string $value = null ) : self | Set option | |
url ( string $url ) : self | Request URL |
Méthode | Description | |
---|---|---|
build_array ( array $input, string $pre = null ) : array | Build array | |
process ( integer $retry ) : self | Task process |