MCP PHP SDK

PingHandler implements RequestHandlerInterface

FinalYes
Tags
author

Christopher Hertel mail@christopher-hertel.de

Table of Contents

Interfaces

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.

Methods

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

Methods

On this page

Search results