interceptRequest method

  1. @override
Future<BaseRequest> interceptRequest({
  1. required BaseRequest request,
})
override

Implementation

@override
Future<BaseRequest> interceptRequest({required BaseRequest request}) async {
  await initBinoxusPayEnvs();
  final localKey = binoxusPayEnvSingleton.localKey;
  if (request is MultipartRequest) {
    request.fields['proccess_local_keys'] = localKey;
  }
  return request;
}