We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
send
Transport
message
options
1 parent 7aa7961 commit 257fcffCopy full SHA for 257fcff
kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/shared/Transport.kt
@@ -18,6 +18,10 @@ public interface Transport {
18
19
/**
20
* Sends a JSON-RPC message (request or response).
21
+ *
22
+ * @property message The JSON-RPC message to send, either a request or a response.
23
+ * @property options Optional transport-specific options that control sending behavior.
24
+ * Different transport implementations may support different options.
25
*/
26
public suspend fun send(message: JSONRPCMessage, options: TransportSendOptions? = null)
27
0 commit comments