Documentation

ServerRequest
in package
implements ServerRequestInterface uses RequestTrait

A request from RoadRunner to the worker.

Tags
psalm-import-type

RequestOptions from RequestInterface

psalm-immutable

Table of Contents

Interfaces

ServerRequestInterface
Carries requests and responses between worker and host process.

Properties

$header  : HeaderInterface
$payloads  : ValuesInterface
$id  : string
$info  : TickInfo
$name  : string
$options  : array<string|int, mixed>

Methods

__construct()  : mixed
getHeader()  : Header
getID()  : string
getName()  : string
getOptions()  : array<string|int, mixed>
getPayloads()  : ValuesInterface
getTickInfo()  : TickInfo
withHeader()  : self

Properties

Methods

getName()

public getName() : string
Return values
string

getOptions()

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

        
On this page

Search results