public interface McpClientTransport extends ClientMcpTransport
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
Initializes and starts the transport connection.
|
close, closeGracefully, sendMessage, unmarshalFromreactor.core.publisher.Mono<Void> connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
McpTransportThis method should be called before any message exchange can occur. It sets up the necessary resources and establishes the connection to the server.
connect in interface McpTransportCopyright © 2025. All rights reserved.