extractReq method

Implementation

@override
Future<(Request, ClientResponse)> extractReq() async {
  try {
    final res = await super.extractReq();
    final request = Request(
      url: await Url.fromStr(res.$1.url.asString()),
      body: res.$1.body,
    );
    return (request, res.$2);
  } on error.PayjoinError catch (e) {
    throw mapPayjoinError(e);
  }
}