<out TMethod is non-empty-string, out TResult is Result, in TContext is AbstractContext>Handles a single inbound JSON-RPC request and returns the typed result. TMethod binds the literal returned by static::getMethod() on the matching
request class so the registry can store handlers heterogeneously. It does
not narrow handle()'s parameter, which stays at the wide envelope type.
| Methods | ||
|---|---|---|
public
|
handle(JsonRpcRequest<non-empty-string> $request, TContext $context): TResult
|
# |