MCP PHP SDK

RequestHandlerInterface

Covariant in TResult: a handler only ever produces its result, so one declaring a concrete result type satisfies a collection of handlers typed by the interface every result implements.

Tags
author

Kyrian Obikwelu koshnawaza@gmail.com

Table of Contents

Methods

handle()  : Response<string|int, TResult>|Error
supports()  : bool

Methods

On this page

Search results