Aborts the SSE stream without marking the transport as permanently closed. The read loop will exit, but write may still work.
Permanently closes the transport. After calling, isReady
returns false and no further reads or writes are possible.
Opens the underlying connection (e.g. subscribes to the SSE stream).
Returns whether the transport is connected and not closed.
true if the transport can send and receive messages.
Aborts the current SSE stream and re-subscribes. The transport remains connected — only the read half is recycled.
Publishes a serialized JSON message to the remote agent.
The JSON string to send.
Abstract transport interface matching the Python SDK's Transport ABC.