Resource
client-notifier
No description available.
resource client-notifier;F constructor
constructor: func(out: output-stream) -> client-notifier;F set-log-level
set-log-level: func(level: log-level);F set-logger
set-logger: func(logger: option<string>);F log
log: func(message: string) -> result<_, client-notifier-error>;Log a message to the client.
F list-changed
list-changed: func(changes: server-lists) -> result<_, client-notifier-error>;Send a notifications/*/list_changed notification to the client.
F updated
updated: func(updates: server-subscriptions) -> result<_, client-notifier-error>;Send a notifications/*/updated notification to the client.
F progress
progress: func(token: progress-token, progress: f64, total: option<f64>, message: option<string>) -> result<_, client-notifier-error>;Send a notifications/progress notification to the client.
https://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/progress
F request
request: func(request: server-request) -> result<_, client-notifier-error>;Send a request to the client on the current SSE response stream. Note that client MCP/JSON-RPC responses arrive as new HTTP requests. Use sessions to await client responses within a handler instance.
https://modelcontextprotocol.io/specification/2025-06-18/client/elicitation
F finish
finish: func(notifier: client-notifier) -> output-stream;