CompleteRequest

@Serializable
data class CompleteRequest(val ref: Reference, val argument: CompleteRequest.Argument, val _meta: JsonObject = EmptyJsonObject) : ClientRequest, WithMeta(source)

A request from the client to the server to ask for completion options.

Constructors

Link copied to clipboard
constructor(ref: Reference, argument: CompleteRequest.Argument, _meta: JsonObject = EmptyJsonObject)

Types

Link copied to clipboard
@Serializable
data class Argument(val name: String, val value: String)

Properties

Link copied to clipboard
open override val _meta: JsonObject

The protocol reserves this result property to allow clients and servers to attach additional metadata to their responses.

Link copied to clipboard

The argument's information

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

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.