Hi,
I am looking for an expert that can get WebSocket info with PHP scitp.
url is [login to view URL], it will call WebSocket to get odds info. i need A php script that do same and get the json result.
GET wss://[login to view URL] HTTP/1.1
Host: [login to view URL]
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
Upgrade: websocket
Origin: [login to view URL]
Sec-WebSocket-Version: 13
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,ms;q=0.7,zh-TW;q=0.6,fr;q=0.5
Sec-WebSocket-Key: 5E/l0cbzeF0cyai9RzgVcA==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Please prvide example script and show it on your before start project.
Thanks,
Lin