refreshSession function

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

Implementation

Future<core.XRPCResponse<core.Session>> refreshSession({
  required String refreshJwt,
  String? service,
  core.RetryConfig? retryConfig,
  final core.PostClient? client,
}) async => _toSessionResponse(
  await comAtprotoServerRefreshSession(
    $headers: {'Authorization': 'Bearer $refreshJwt'},
    $ctx: core.ServiceContext(
      service: service,
      retryConfig: retryConfig,
      postClient: client,
    ),
  ),
);