toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-mcp-client
/
org.http4k.mcp.client.http
/
HttpNonStreamingMcpClient
Http
Non
Streaming
Mcp
Client
class
HttpNonStreamingMcpClient
(
baseUri
:
Uri
,
http
:
HttpHandler
=
JavaHttpClient()
)
:
McpClient
JSON Rpc connection MCP client.
Members
Constructors
Http
Non
Streaming
Mcp
Client
Link copied to clipboard
constructor
(
baseUri
:
Uri
,
http
:
HttpHandler
=
JavaHttpClient()
)
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
completions
Link copied to clipboard
open
override
fun
completions
(
)
:
McpClient.Completions
progress
Link copied to clipboard
open
override
fun
progress
(
)
:
McpClient.RequestProgress
prompts
Link copied to clipboard
open
override
fun
prompts
(
)
:
McpClient.Prompts
resources
Link copied to clipboard
open
override
fun
resources
(
)
:
McpClient.Resources
sampling
Link copied to clipboard
open
override
fun
sampling
(
)
:
McpClient.Sampling
start
Link copied to clipboard
open
override
fun
start
(
)
:
Success
<
ServerCapabilities
>
stop
Link copied to clipboard
open
fun
stop
(
)
tools
Link copied to clipboard
open
override
fun
tools
(
)
:
McpClient.Tools