Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions remote(SSE)/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Transport } from "@modelcontextprotocol/sdk/shared/transport.js"
import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js"
import { URL } from "url"

class SESClient {
class SSEClient {
private client: Client
private transport: Transport | null = null
private isCompleted = false
Expand Down Expand Up @@ -58,7 +58,7 @@ class SESClient {
}

async function main() {
const client = new SESClient("sse-server")
const client = new SSEClient("sse-server")

try {
await client.connectToServer("http://localhost:3000/connect")
Expand All @@ -68,4 +68,4 @@ async function main() {
}
}

main()
main()