rest e websockets