paragi / PHP-websocket-client

142 stars 61 forks source link

[Feature] Set custom path in the header #8

Closed NabiKAZ closed 4 years ago

NabiKAZ commented 4 years ago

Currently just can be send request for / path. Needed set custom path in the header after GET

https://github.com/paragi/PHP-websocket-client/blob/cefdf416d96d01733bd6e62b9ba0ddbbe5888e96/websocket_client.php#L70

NabiKAZ commented 4 years ago

I created a PR #9

paragi commented 4 years ago

Thanks for your contribution. It is appreciated.