SubscribeRequestParams

data class SubscribeRequestParams(val uri: String, val meta: RequestMeta? = null) : RequestParams(source)

Parameters for a resources/subscribe request.

Constructors

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

Properties

Link copied to clipboard
@SerialName(value = "_meta")
open override val meta: RequestMeta?

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

Link copied to clipboard
val uri: String

The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it.