CompleteResult

@Serializable
data class CompleteResult(val completion: CompleteResult.Completion, val _meta: JsonObject = EmptyJsonObject) : ServerResult(source)

The server's response to a completion/complete request

Constructors

Link copied to clipboard
constructor(completion: CompleteResult.Completion, _meta: JsonObject = EmptyJsonObject)

Types

Link copied to clipboard
@Serializable
class Completion(val values: List<String>, val total: Int?, val hasMore: Boolean?)

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