MCP PHP SDK

Server

FinalYes
Tags
author

Christopher Hertel mail@christopher-hertel.de

Kyrian Obikwelu koshnawaza@gmail.com

Table of Contents

Properties

$logger  : LoggerInterface
$protocol  : Protocol
$statelessProtocol  : StatelessProtocol|null

Methods

__construct()  : mixed
builder()  : Builder
run()  : TResult

Properties

$logger read-only

private LoggerInterface $logger = new NullLogger()

Methods

__construct()

public __construct(Protocol $protocol[, LoggerInterface $logger = new NullLogger() ][, StatelessProtocol|null $statelessProtocol = null ]) : mixed
Parameters
$protocol : Protocol
$logger : LoggerInterface = new NullLogger()
$statelessProtocol : StatelessProtocol|null = null

the modern-era (SEP-2575) dispatcher, absent on a server that serves the handshake era alone

On this page

Search results