0.15.2 • Published 2 days ago
@colyseus/ws-transport v0.15.2
@colyseus/ws-transport
import { Server } from "@colyseus/core";
import { WebSocketTransport } from "@colyseus/ws-transport";
const gameServer = new Server({
transport: new WebSocketTransport(),
// ...
})
Re-using existing http server and/or Express:
import http from "http";
import express from "express";
import { Server } from "@colyseus/core";
import { WebSocketTransport } from "@colyseus/ws-transport";
const app = express();
const server = http.createServer(app);
const gameServer = new Server({
transport: new WebSocketTransport({ server }),
// ...
})
0.15.2
2 days ago
0.15.1
11 months ago
0.15.0
1 year ago
0.15.0-preview.2
2 years ago
0.15.0-preview.1
2 years ago
0.15.0-preview.0
2 years ago
0.14.21
3 years ago
0.14.20
3 years ago
0.14.19
3 years ago
0.14.17
3 years ago
0.14.17-alpha.9
3 years ago
0.14.17-alpha.8
3 years ago
0.14.18
3 years ago
0.14.17-alpha.7
3 years ago
0.14.17-alpha.6
3 years ago
0.14.17-alpha.5
3 years ago
0.14.17-alpha.4
3 years ago
0.14.17-alpha.3
3 years ago
0.14.17-alpha.2
3 years ago