Z User
phase7: MCP stdio smoke test (handshake + tools/list + get_roots 6:74) — 4/4 tests PASS
54a6341 Download node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts from bravesigma/quran-md-plugin: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts
- Command line
-
hf download hf://datasets/bravesigma/quran-md-plugin/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts
-
curl -L -o websocket.d.ts https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts
598 Bytes
| import { Transport } from '../shared/transport.js'; | |
| import { JSONRPCMessage } from '../types.js'; | |
| /** | |
| * Client transport for WebSocket: this will connect to a server over the WebSocket protocol. | |
| */ | |
| export declare class WebSocketClientTransport implements Transport { | |
| private _socket?; | |
| private _url; | |
| onclose?: () => void; | |
| onerror?: (error: Error) => void; | |
| onmessage?: (message: JSONRPCMessage) => void; | |
| constructor(url: URL); | |
| start(): Promise<void>; | |
| close(): Promise<void>; | |
| send(message: JSONRPCMessage): Promise<void>; | |
| } | |
| //# sourceMappingURL=websocket.d.ts.map |