Skip to content

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented Apr 3, 2025

Resolves #31

This PR makes a breaking change to the Transport protocol. However, most API callers interact with StdioTransport, so unless they've implemented their own custom transport, existing usage won't be affected.

@mattt mattt force-pushed the mattt/transport-data branch from eb0aec3 to d6d5d43 Compare April 3, 2025 11:34
@mattt mattt force-pushed the mattt/transport-data branch from d6d5d43 to d90632c Compare April 3, 2025 11:40
@mattt mattt merged commit a9bcbf9 into main Apr 3, 2025
1 check passed
@mattt mattt deleted the mattt/transport-data branch April 3, 2025 11:42
devyhan pushed a commit to devyhan/swift-sdk that referenced this pull request Apr 4, 2025
…ontextprotocol#42)

* Update transports to send and receive data instead of strings

* Rename MockTransport helper methods

* Adopt Task.sleep(for:...) instead of variant taking nanoseconds

* Update comment

* Revert inadvertant change to visibility of send method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transport using String type results in extra memory copies

2 participants