code: public HubConnection build() {
          return new HubConnection(url, transport, skipNegotiate, httpClient, accessTokenProvider, handshakeResponseTimeout, headers);
      }
docs: Builds a new instance of {@link HubConnection}.
  
  @return A new instance of {@link HubConnection}.