Clone this repo:
  1. 3ecd4f8 Delete .test_config by Kevin Moore · 6 months ago master
  2. c917067 Drop an unnecessary utility (#16) by Nate Bosch · 7 months ago
  3. 1cb7794 Drop unused author field from pubspec (#13) by Nate Bosch · 1 year, 1 month ago
  4. cb6ebf2 Merge pull request #12 from dart-lang/new-pedantic-lints by Nate Bosch · 1 year, 1 month ago
  5. 9d93898 Fix newly enforced package:pedantic lints by Nate Bosch · 1 year, 1 month ago

Proxy for Shelf

Build Status

shelf_proxy is a Shelf handler that proxies requests to an external server. It can be served directly and used as a proxy server, or it can be mounted within a larger application to proxy only certain URLs.

import 'package:shelf/shelf_io.dart' as shelf_io;
import 'package:shelf_proxy/shelf_proxy.dart';

void main() async {
  var server = await shelf_io.serve(

  print('Proxying at http://${}:${server.port}');