Storm dart:dart服务器库 源码
适用于现代Web服务器的Dart库 import 'package:dartlearn/storm.dart' ; Future main () async { StormApp _app = StormApp (port : 4040 ); _app. use ( Route ( path : "/" , method : RequestMethod . ANY , handler : ( Request request, Response response) { response. send ( "hello" ); })); _app. use ( Route ( path : "/index" , method : RequestMethod . ANY ,
文件列表
Storm-dart-master.zip
(预估有个13文件)
Storm-dart-master
pubspec.yaml
238B
lib
route.dart
502B
response.dart
281B
storm.dart
1KB
request.dart
121B
request_method.dart
70B
pubspec.lock
7KB
test
暂无评论