Skip to content

Add ability to pass path to constructor#7

Merged
thekid merged 7 commits intomasterfrom
feature/path-argument
Jan 12, 2025
Merged

Add ability to pass path to constructor#7
thekid merged 7 commits intomasterfrom
feature/path-argument

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