How to create simple okhttp3 websocket connection?
<p>Can someone please show me an example on how to establish the connection to the wss:// address with specific Authorization header, using okhttp3 okhttp-ws library?</p>

<p>All I have is the url of WS server and Authorization string token.</p>

<p>Later, I must be able to send request to that connection, listen to upcoming data from WS server and than close connection. I have a difficulties with this new to me WS world, always been working only with REST (with okhttp3 too)</p>