通过PawlTransportProvider连接到WSS套接字时如何设置请求标头

时间:2019-05-09 11:16:38

标签: websocket ratchet request-headers thruway

Thruway文档中的代码。找不到安装标题,我需要发送cookie等。

$client->addTransportProvider(new PawlTransportProvider("wss://localhost?ws=3"));

0 个答案:

没有答案