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

Methods

__construct()  : mixed
addEventListener()  : void
dispatchEvent()  : void
getEncoding()  : null
getHeaderList()  : array<string, string|array<string|int, string>>
getMime()  : null
removeEventListener()  : void
run()  : void

Properties

Methods

__construct()

public __construct(string $command) : mixed
Parameters
$command : string

addEventListener()

public addEventListener(string $type, Closure $listener[, bool $capture = false ]) : void
Parameters
$type : string
$listener : Closure
$capture : bool = false

getEncoding()

public getEncoding() : null
Return values
null

getHeaderList()

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

getMime()

public getMime() : null
Return values
null

removeEventListener()

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

Search results