MCP PHP SDK

RequestContext

FinalYes

Context related to a single request. This includes information about the session and will build request-specific objects.

This is a stateful object, it should not be reused between requests.

Tags
author

Tobias Nyholm tobias.nyholm@gmail.com

Table of Contents

Properties

$clientGateway  : ClientGateway|null
$clientLogger  : ClientLogger|null
$request  : Request
$session  : SessionInterface

Methods

__construct()  : mixed
getClientGateway()  : ClientGateway
getClientLogger()  : ClientLogger
getRequest()  : Request
getSession()  : SessionInterface

Properties

Methods


        
On this page

Search results