lazy-mock icon indicating copy to clipboard operation
lazy-mock copied to clipboard

能不能把socket支持了。~

Open jamninetyfive opened this issue 5 years ago • 2 comments

jamninetyfive avatar Jul 25 '18 01:07 jamninetyfive

@jamninetyfive websocket不太熟,我先研究下

wjkang avatar Jul 25 '18 02:07 wjkang

例: 一个 websocket 接口, 会发送收到的消息

'ws /api/4' (ws, req) {
  ws.on(`message`, (msg) => ws.send(msg))
},

wll8 avatar Mar 08 '22 02:03 wll8