ReadResourceRequest

Sent from the client to the server to read a specific resource URI.

The server will return the resource's contents, which can be either text or binary data.

Constructors

Link copied to clipboard
constructor(params: ReadResourceRequestParams)
constructor(uri: String, meta: RequestMeta? = null)

Properties

Link copied to clipboard

Metadata for this request. May include a progressToken for out-of-band progress notifications.

Link copied to clipboard
open override val method: Method
Link copied to clipboard

The parameters specifying which resource URI to read.

Link copied to clipboard
val uri: String

The URI of the resource to read

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.