Skip to content

Instantly share code, notes, and snippets.

@nex3
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nex3/0a09e129895f5f308f64 to your computer and use it in GitHub Desktop.
Save nex3/0a09e129895f5f308f64 to your computer and use it in GitHub Desktop.
// io_client.dart
import 'dart:io' as io;
class IOClient extends Client {
IOClient({bool followRedirects, String userAgent, ...});
}
// browser_client.dart
import 'dart:html' as html;
class BrowserClient extends Client {
BrowserClient({bool withCredentials, HttpRequestUpload upload, ...});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment