code: public void setTimeout(int timeout) {
          if (config.delivery instanceof HttpDelivery) {
              ((HttpDelivery) config.delivery).setTimeout(timeout);
          }
          if (config.sessionDelivery instanceof HttpDelivery) {
              ((HttpDelivery) config.sessionDelivery).setTimeout(timeout);
          }
      }
docs: Set a timeout (in ms) to use when delivering Bugsnag error reports and sessions.
  This is a convenient shorthand for bugsnag.getDelivery().setTimeout();
  
  @param timeout the timeout to set (in ms)
  @see #setDelivery