beginPendingConnection method

void beginPendingConnection(
  1. RequestState state
)

Announces a send path that has yet to work out which connection to use, so a relay answering meanwhile does not look like the only one this request ever had. Pair every call with endPendingConnection.

Implementation

void beginPendingConnection(RequestState state) => state.pendingConnections++;