We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5cb03b commit eb0aec3Copy full SHA for eb0aec3
Sources/MCP/Server/Server.swift
@@ -263,7 +263,7 @@ public actor Server {
263
// MARK: - Sending
264
265
/// Send a response to a request
266
- private func send<M: Method>(_ response: Response<M>) async throws {
+ public func send<M: Method>(_ response: Response<M>) async throws {
267
guard let connection = connection else {
268
throw Error.internalError("Server connection not initialized")
269
}
0 commit comments