浅淡 RxJS WebSocket

const ws = webSocket({
  url: 'wss://echo.websocket.org',
  openObserver: open$
});
// 订阅打开事件
open$.subscribe(() => {});```

```javascript
// An highlighted block
var foo = 'bar';
posted @ 2018-10-06 18:01  sfornt  阅读(1024)  评论(0编辑  收藏  举报