RequestSuspension
FinalYes
Payload a handler fiber suspends with to send a request to the client and wait for its answer.
Tags
Table of Contents
Properties
- $inputKey : string|null
- $request : Request
- $sessionId : string
- $timeout : int
Methods
- __construct() : mixed
Properties
$inputKey read-only
public
string|null
$inputKey
= null
$request read-only
public
Request
$request
$sessionId read-only
public
string
$sessionId
$timeout read-only
public
int
$timeout
= 120
Methods
__construct()
public
__construct(Request $request, string $sessionId[, int $timeout = 120 ][, string|null $inputKey = null ]) : mixed
Parameters
- $request : Request
- $sessionId : string
- $timeout : int = 120
-
maximum time to wait for the response (seconds)
- $inputKey : string|null = null
-
the name an elicitation's answer is filed under when the revision serving the call answers by asking (ElicitationReplay); ignored by every leg that has a live client to ask