HumHub Documentation (unofficial)

RemoteStatus
in package

Represents status of remote end

Tags
see
https://www.w3.org/TR/webdriver/#status

Table of Contents

Properties

$isReady  : bool
$message  : string
$meta  : array<string|int, mixed>

Methods

createFromResponse()  : RemoteStatus
getMessage()  : string
An implementation-defined string explaining the remote end's readiness state.
getMeta()  : array<string|int, mixed>
Arbitrary meta information specific to remote-end implementation.
isReady()  : bool
The remote end's readiness state.
__construct()  : mixed
setMeta()  : mixed

Properties

Methods

createFromResponse()

public static createFromResponse(array<string|int, mixed> $responseBody) : RemoteStatus
Parameters
$responseBody : array<string|int, mixed>
Return values
RemoteStatus

getMessage()

An implementation-defined string explaining the remote end's readiness state.

public getMessage() : string
Return values
string

getMeta()

Arbitrary meta information specific to remote-end implementation.

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

isReady()

The remote end's readiness state.

public isReady() : bool

False if an attempt to create a session at the current time would fail. However, the value true does not guarantee that a New Session command will succeed.

Return values
bool

__construct()

protected __construct(bool $isReady, string $message[, array<string|int, mixed> $meta = [] ]) : mixed
Parameters
$isReady : bool
$message : string
$meta : array<string|int, mixed> = []

setMeta()

protected setMeta(array<string|int, mixed> $meta) : mixed
Parameters
$meta : array<string|int, mixed>

        
On this page

Search results