Пример #1
0
 public OpenSocket(WebSocket ws, OpenSocketsService manager, int id)
 {
     this.Socket  = ws;
     this.Manager = manager;
     this.Rpc     = new JsonRpc(new WebSocketMessageHandler(this.Socket), new Handlers(this.Manager));
 }
Пример #2
0
 public WsMiddleware(RequestDelegate req, OpenSocketsService service)
 {
     this.service = service;
 }
Пример #3
0
 public Handlers(OpenSocketsService manager)
 {
 }