Returning full response in websocket endpoint request