connectFromSessionStore method

Future<void> connectFromSessionStore(
  1. WCSessionStore sessionStore, {
  2. HttpClient? customHttpClient,
})

Implementation

Future<void> connectFromSessionStore(
  WCSessionStore sessionStore, {
  HttpClient? customHttpClient,
}) async {
  await _connect(
    fromSessionStore: true,
    session: sessionStore.session,
    peerMeta: sessionStore.peerMeta,
    remotePeerMeta: sessionStore.remotePeerMeta,
    peerId: sessionStore.peerId,
    remotePeerId: sessionStore.remotePeerId,
    chainId: sessionStore.chainId,
    customClient: customHttpClient,
  );
}