foo
adding the method to retrieve the websocket