Skip to content

docs(readme): fix connection method call in programmatic usage example #532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2025

Conversation

cranemont
Copy link
Contributor

The createConnection function returns an instance of the Connection class, which doesn't have a connect method. Updated the documentation to use connection.server.connect(transport) instead of connection.connect(transport) to match the actual implementation.

Related to #529

@pavelfeldman pavelfeldman merged commit 0aaef66 into microsoft:main Jun 8, 2025
1 check passed
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.

2 participants