Skip to content
Discussion options

You must be logged in to vote

Hi @chiragpetals, since Colyseus 0.16 the uWebSocketsTransport() comes with uwebsockets-express compatibility layer built-in (see source-code).

You can access the express instance via:

const app = config.transport['expressApp'];

Beware that express v5 is not supported by the compatibility layer yet. I'm working to make the uwebsockets-express layer compatible with express v5 at this exact moment (work in progress is on express-v5 branch).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chiragpetals
Comment options

Answer selected by chiragpetals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants