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 ,
用户评论