netty-socketio established connection domain name path exception

40 views Asked by At

Client Connection Information:

var socket = io('ws://abc.com/customRequestPath', { query: { 'clientUserCode': 'my-value'//类似于上面的写法 }, reconnection: true, reconnectionDelay: 1000, reconnectionDelayMax: 5000, reconnectionAttempts: 50, transports: ['websocket'] });

The path for the browser to establish a socket link: enter image description here

The browser establishes the socket link path is ws://abc.com/socket.io/,And the request path I expect should be ws://abc.com/customRequestPath/socket.io/。

Is this a bug?Please give me some advice.

The browser establishes the socket link path is ws://abc.com/socket.io/,And the request path I expect should be ws://abc.com/customRequestPath/socket.io/。

0

There are 0 answers