title: https undefined in react native axios
body: <p>I have used axios for react native app but while implementing https.agent it shows https is undefined. How to solve this?<br/> My code</p>
  
  <pre><code>const instance = axios.create({
    httpsAgent: new https.Agent({
      rejectUnauthorized: false
    })
  });
  
   instance.get('https://example.com');
  
  // At request level
  const agent = new https.Agent({
    rejectUnauthorized: false
  });
      axios.post('/practz/login', {
            "username" :"orgadmin1@example.com",
            "password":"exam",
            "appId":"AABBCD",
            "domainName":"example.com",
            httpsAgent: agent
        })
        .then(function (response) {
          console.log(response);
        })
        .catch(function (error) {
          console.log(error);
        });
  </code></pre>