Skip to content

Commit eb0aec3

Browse files
committed
Revert inadvertant change to visibility of send method
1 parent c5cb03b commit eb0aec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MCP/Server/Server.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public actor Server {
263263
// MARK: - Sending
264264

265265
/// Send a response to a request
266-
private func send<M: Method>(_ response: Response<M>) async throws {
266+
public func send<M: Method>(_ response: Response<M>) async throws {
267267
guard let connection = connection else {
268268
throw Error.internalError("Server connection not initialized")
269269
}

0 commit comments

Comments
 (0)