refreshSession function

Future<XRPCResponse<Session>> refreshSession({
  1. Protocol? protocol,
  2. String? service,
  3. required String refreshJwt,
  4. RetryConfig? retryConfig,
  5. PostClient? mockedPostClient,
})

Implementation

Future<xrpc.XRPCResponse<Session>> refreshSession({
  xrpc.Protocol? protocol,
  String? service,
  required String refreshJwt,
  RetryConfig? retryConfig,
  final xrpc.PostClient? mockedPostClient,
}) async =>
    await _Sessions(
      protocol: protocol,
      service: service,
      retryConfig: retryConfig,
      mockedPostClient: mockedPostClient,
    ).refreshSession(refreshJwt: refreshJwt);