code: @Deprecated
      public void setSessionEndpoint(String endpoint) {
          if (config.sessionDelivery instanceof HttpDelivery) {
              ((HttpDelivery) config.sessionDelivery).setEndpoint(endpoint);
          }
      }
docs: Set the endpoint to deliver Bugsnag sessions to. This is a convenient
  shorthand for bugsnag.getSessionDelivery().setEndpoint();
  
  @param endpoint the endpoint to send sessions to
  @see #setDelivery
  @deprecated use {@link Configuration#setEndpoints(String, String)} instead