Documentation

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
author

Daniel Schulz

since
2017-12-28

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

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

getHeaderList()

public getHeaderList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getMime()

public getMime() : string|null
Return values
string|null

removeEventListener()

public removeEventListener(mixed $type, mixed $listener[, mixed $capture = false ]) : void
Parameters
$type : mixed
$listener : mixed
$capture : mixed = false
On this page

Search results