StdioClientTransport.deliver

Send a request and return its result (or throw McpException). The channel correlates the reply by expectId while its read loop concurrently dispatches any interleaved notifications and server->client requests, so multiple deliver calls may be in flight at once.

class StdioClientTransport
@safe
Json
deliver
(
Json message
,)