INNER CODE UNIT · Dart

_RecordingClient

BeamlakAschalew/flixquest · tool/dlhd_live_smoke.dart:9

class _RecordingClient extends http.BaseClient {
  final http.Client _upstream = http.Client();
  bool requestedServerStream = false;

  @override
  Future<http.StreamedResponse> send(http.BaseRequest request) async {
    if (request.url.path.endsWith('/stream')) {
      requestedServerStream = true;
      stdout
          .writeln('Local watch-page resolution failed; using embed fallback');
    }
    return _upstream.send(request);
  }

  @override
  void close() => _upstream.close();
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…