类的使用
com.github.codeboyzhou.mcp.declarative.server.McpStreamableServerInfo
使用McpStreamableServerInfo的程序包
-
com.github.codeboyzhou.mcp.declarative中McpStreamableServerInfo的使用
修饰符和类型方法说明voidMcpServers.startStreamableServer(McpStreamableServerInfo serverInfo) Starts a streamable http server with the specified server info. -
com.github.codeboyzhou.mcp.declarative.server中McpStreamableServerInfo的使用
修饰符和类型方法说明McpStreamableServerInfo.Builder.build()Builds a newMcpStreamableServerInfoinstance with the specified builder.修饰符和类型方法说明io.modelcontextprotocol.server.McpServer.SyncSpecification<?>McpStreamableServer.sync(McpStreamableServerInfo info) Returns the sync specification for the MCP server in Streamable HTTP mode.