-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
SocketJsClient:
<SockJsClient
url="http://xxxx/ws"
topic="/messages"
onConnect={() => {
console.log(111);
}}
onDisconnect={(err) => {
console.log('err', err);
}}
onMessage={(msg) => {
console.log(msg);
}}
ref={(client) => {
console.log('client', client);
setClientRef(client);
}}
/>
Proxy config:
proxy: {
"/ws/**": {
"target": "http://xxxx",
"changeOrigin": true
}
}
Metadata
Metadata
Assignees
Labels
No labels