Skip to content

Commit 02194a6

Browse files
committed
refactor: update IOTransport documentation for clarity on reader/writer usage
1 parent adebac9 commit 02194a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcp/transport.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ func NewStdioTransport() *StdioTransport {
103103
return &StdioTransport{}
104104
}
105105

106-
// A StdioTransport is a [Transport] that communicates over stdin/stdout using
107-
// newline-delimited JSON.
106+
// An IOTransport is a [Transport] that communicates over separate
107+
// io.ReadCloser and io.WriteCloser using newline-delimited JSON.
108108
type IOTransport struct {
109109
reader io.ReadCloser
110110
writer io.WriteCloser

0 commit comments

Comments
 (0)