Home  >  Q&A  >  body text

python - Can "Upgrade" only to "WebSocket". http400报错

jsws client

  var ws = new WebSocket('ws://*.com/tail);
 

求解决

黄舟黄舟2742 days ago1015

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:06:11

    That’s because you access it directly using the http protocol.
    To use the websocket client, use ws://

    reply
    0
  • Cancelreply