@FunctionalInterface
public static interface McpServerSession.Factory
| 限定符和类型 | 方法和说明 |
|---|---|
McpServerSession |
create(McpServerTransport sessionTransport)
Creates a new 1:1 representation of the client-server interaction.
|
McpServerSession create(McpServerTransport sessionTransport)
sessionTransport - the transport to use for communication with the client.