WebSocket request-response subprotocol

后端 未结 7 556
走了就别回头了
走了就别回头了 2020-12-22 23:47

WebSocket provides a bi-directional communication like a human being talks. The client can send data to the server and the server can send data to the client anytime. But wh

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-23 00:15

    Take a look at msg-rpc, it provides bidirectional rpc support over simple message interface, include WebSocket.

    Not only the simple rpc, which could cover "client request / server response" behavior, it also supports "server request / client response" behavior, which is via the Rpc Service.

    To get start with, there're sockjs and socket.io examples .

提交回复
热议问题