ReadResourceRequestBuilder

DSL builder for constructing ReadResourceRequest instances.

This builder reads the contents of a specific resource by URI.

Required

  • uri - The URI of the resource to read

Optional

  • meta - Metadata for the request

See also

Properties

Link copied to clipboard
var uri: String?

The URI of the resource to read. This is a required field.

Functions

Link copied to clipboard
fun meta(builderAction: RequestMetaBuilder.() -> Unit)

Sets request metadata using a DSL builder.