ObservableResources

Provides notification telling the client of changes to a particular resource

Inheritors

Functions

Link copied to clipboard
abstract fun listResources(req: McpResource.List.Request, client: Client, http: Request): McpResource.List.Response
Link copied to clipboard
abstract fun listTemplates(req: McpResource.ListTemplates.Request, client: Client, http: Request): McpResource.ListTemplates.Response
Link copied to clipboard
abstract fun read(req: McpResource.Read.Request, client: Client, http: Request): McpResource.Read.Response
Link copied to clipboard
open fun subscribe(session: Session, req: McpResource.Subscribe.Request, fn: (Uri) -> Unit)
Link copied to clipboard
open fun triggerUpdated(uri: Uri)
Link copied to clipboard
open fun unsubscribe(session: Session, req: McpResource.Unsubscribe.Request)