HTTPCommand
in package
FinalYes
Legacy command dispatcher for event-driven HTTP work units.
Included for historical compatibility only. This API is deprecated and should not be used in new code.
Tags
Table of Contents
Properties
- $exec : mixed
Methods
- __construct() : mixed
- addEventListener() : void
- dispatchEvent() : void
- getEncoding() : string|null
- getHeaderList() : array<string|int, mixed>
- getMime() : string|null
- removeEventListener() : void
- run() : void
Properties
$exec
protected
mixed
$exec
Methods
__construct()
public
__construct(mixed $command) : mixed
Parameters
- $command : mixed
addEventListener()
public
addEventListener(mixed $type, Closure $listener[, mixed $capture = false ]) : void
Parameters
- $type : mixed
- $listener : Closure
- $capture : mixed = false
dispatchEvent()
public
dispatchEvent(mixed $event) : void
Parameters
- $event : mixed
getEncoding()
public
getEncoding() : string|null
Return values
string|nullgetHeaderList()
public
getHeaderList() : array<string|int, mixed>
Return values
array<string|int, mixed>getMime()
public
getMime() : string|null
Return values
string|nullremoveEventListener()
public
removeEventListener(mixed $type, mixed $listener[, mixed $capture = false ]) : void
Parameters
- $type : mixed
- $listener : mixed
- $capture : mixed = false
run()
public
run() : void