Socket IO | How to get the client transport type on the serverside?

后端 未结 7 751
梦谈多话
梦谈多话 2021-01-01 23:51

I need to know what transport method a client is using for some conditional statements on the nodeJS serverside.

Does anyone know how I can get that

相关标签:
7条回答
  • 2021-01-02 00:23

    April 2012, this works: socket.transport

    0 讨论(0)
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题