Sends an asynchronous JSON-RPC notification using an outbound codec resolved by method name.
// Source: https://github.com/modelcontextprotocol/typescript-sdk | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
async notification(notification: Notification, options?: NotificationOptions): Promise<void> {
return this._notificationViaCodec(this._resolveOutboundCodec(notification.method), notification, options);
}
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key