Documentation

RequestInterface extends CommandInterface

Carries requests and responses between worker and host process.

Tags
psalm-type

RequestOptions = array<non-empty-string, mixed>

Table of Contents

Methods

getFailure()  : Throwable|null
Optional failure.
getHeader()  : HeaderInterface
getID()  : int
getName()  : non-empty-string
getOptions()  : RequestOptions
getPayloads()  : ValuesInterface
withHeader()  : self

Methods

getFailure()

Optional failure.

public getFailure() : Throwable|null
Return values
Throwable|null

getName()

public getName() : non-empty-string
Return values
non-empty-string

getOptions()

public getOptions() : RequestOptions
Return values
RequestOptions

        
On this page

Search results