title: How to use React Native's WebSocket with cookies
body: <p>I have a real-time server with WebSocket and cookies. to authentication i should send two cookies to server with Websocket.</p>
  
  <p>how can i use React Native's Websocket with cookies</p>
  
  <p>according to this <a href="https://stackoverflow.com/a/42962786/6375548">link</a> "As of React Native 0.38, this should happen automatically on Android" but HOW??</p>