CompletionCapability
class CompletionCapability(ref: Reference, handler: CompletionHandler) : ServerCapability, Function1<CompletionRequest, CompletionResponse> (source)
Functions
Link copied to clipboard
Convenience function to create a server from capabilities
Link copied to clipboard
fun Iterable<ServerCapability>.asServer(config: PolyServerConfig, name: String = "http4k-mcp"): Http4kServer
Convenience function to create a server from a multiple capabilities
Convenience function to create a server from a single capability
Link copied to clipboard
fun complete(mcp: McpCompletion.Request.Params, client: Client, http: Request): McpCompletion.Response.Result
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard