def client.ask
import ezmcp@0.1.0.0/main.bend as Ezmcpimport Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value
import ezmcp@0.1.0.0/src/rpc.bend as Rpc
import ezmcp@0.1.0.0/src/io.bend as Io
358# POST a request to an MCP endpoint and read its reply, JSON or an event
359# stream. `version` is the negotiated revision ("" before initialize); the
360# timeout bounds connecting, sending and receiving
361def client.ask(
362 url: String,
363 version: String,
364 timeout_ms: U32,
365 msg: Value.Json
366) -> IO(Rpc.Reply):
367 Io.client.ask(url, version, timeout_ms, msg)
Uses (6)
Used by (0)
No other definition uses this definition.