| Package | Description |
|---|---|
| io.modelcontextprotocol.spec |
| Constructor and Description |
|---|
McpClientSession(Duration requestTimeout,
McpClientTransport transport,
Map<String,McpClientSession.RequestHandler<?>> requestHandlers,
Map<String,McpClientSession.NotificationHandler> notificationHandlers)
|
McpClientSession(Duration requestTimeout,
McpClientTransport transport,
Map<String,McpClientSession.RequestHandler<?>> requestHandlers,
Map<String,McpClientSession.NotificationHandler> notificationHandlers,
Function<? super reactor.core.publisher.Mono<Void>,? extends org.reactivestreams.Publisher<Void>> connectHook)
Creates a new McpClientSession with the specified configuration and handlers.
|
Copyright © 2025. All rights reserved.