Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1972)

Unified Diff: example/example_server.dart

Issue 837193005: pkg/shelf: formatted code (Closed) Base URL: https://github.com/dart-lang/shelf.git@master
Patch Set: nits Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « codereview.settings ('k') | lib/shelf_io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: example/example_server.dart
diff --git a/example/example_server.dart b/example/example_server.dart
index ca0210babf9dcb71246393bef2f8ab688eba28f4..5abc65e5be3d7bb2ae1417d97462026d49042f11 100644
--- a/example/example_server.dart
+++ b/example/example_server.dart
@@ -6,7 +6,8 @@ import 'package:shelf/shelf.dart' as shelf;
import 'package:shelf/shelf_io.dart' as io;
void main() {
- var handler = const shelf.Pipeline().addMiddleware(shelf.logRequests())
+ var handler = const shelf.Pipeline()
+ .addMiddleware(shelf.logRequests())
.addHandler(_echoRequest);
io.serve(handler, 'localhost', 8080).then((server) {
« no previous file with comments | « codereview.settings ('k') | lib/shelf_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698