Skip to content
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

Add ability to pass path to constructor #7

Merged
merged 7 commits into from
Jan 12, 2025
Merged

Conversation

thekid
Copy link
Member

@thekid thekid commented Jan 12, 2025

Example:

$ws= new WebSocket($socket, '/ws');

⚠️ Note: The WebSocket constructor previously accepted the origin as its second argument. This is still supported but deprecated in favor of passing it to connect()!

@thekid thekid added the enhancement New feature or request label Jan 12, 2025
@thekid thekid mentioned this pull request Jan 12, 2025
5 tasks
@thekid thekid merged commit 9f7f097 into master Jan 12, 2025
@thekid thekid deleted the feature/path-argument branch January 12, 2025 11:41
@thekid
Copy link
Member Author

thekid commented Jan 12, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant