MCP PHP SDK

RequestSuspension

FinalYes

Payload a handler fiber suspends with to send a request to the client and wait for its answer.

Tags
author

Christopher Hertel mail@christopher-hertel.de

Table of Contents

Properties

$inputKey  : string|null
$request  : Request
$sessionId  : string
$timeout  : int

Methods

__construct()  : mixed

Properties

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

On this page

Search results