Skip to content

Instantly share code, notes, and snippets.

@mplacona
Created March 31, 2014 12:49
Show Gist options
  • Save mplacona/9891570 to your computer and use it in GitHub Desktop.
Save mplacona/9891570 to your computer and use it in GitHub Desktop.
import 'dart:io';
final int port = 5000;
final String address = "127.0.0.1";
void main() {
HttpServer.bind(address, port)
.then((HttpServer server){
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment