paragi / PHP-websocket-client

142 stars 61 forks source link

how to send GET requets body? #11

Closed bottookku closed 4 years ago

paragi commented 4 years ago

Websocket is NOT the HTTP protocol. It doesn't have post/get/delete and body. Its just a bi-directional stream. You can write or read. That's it :)

You can however use the open statement to parse an URL. That could contain a search (GET) part.