import{Connection,MessageHandler}from'@uncut/hotel';importWebSocketfrom'ws';// create a ws websocket serverconstwss=newWebSocket.Server({port: 8080});// create a message handlerconsthandler=newMessageHandler();/* and a connection for the ws server and the message handler */constcon=newConnection(wss,handler);