Skip to content

Commit 257fcff

Browse files
committed
Add KDocs for send method in Transport detailing message and options parameters
1 parent 7aa7961 commit 257fcff

File tree

1 file changed

+4
-0
lines changed
  • kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/shared

1 file changed

+4
-0
lines changed

kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/shared/Transport.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ public interface Transport {
1818

1919
/**
2020
* 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.
2125
*/
2226
public suspend fun send(message: JSONRPCMessage, options: TransportSendOptions? = null)
2327

0 commit comments

Comments
 (0)