InputRequestCapabilities
FinalYes
What a multi round-trip ask requires of the client, and whether it said it could do it.
A server MUST NOT put a request into inputRequests that the client has not
declared support for: the client would have nothing to answer with and the
retry could never carry it. Since capabilities travel per request in this
revision, the check is possible right where the answer is built — which is
better than leaving it to every handler, and better than discovering it when
the retry never comes.
Tags
Table of Contents
Methods
- missing() : ClientCapabilities|null
- The capabilities $result needs that $declared does not offer, or null when the client can answer everything it is being asked.
Methods
missing()
The capabilities $result needs that $declared does not offer, or null when the client can answer everything it is being asked.
public
static missing(InputRequiredResult $result, ClientCapabilities $declared) : ClientCapabilities|null
Parameters
- $result : InputRequiredResult
- $declared : ClientCapabilities