更新web服务器自定义token解析回调
This commit is contained in:
@@ -6,7 +6,8 @@ class ShelfWebServer implements WebServer {
|
||||
final String tag = "webserver";
|
||||
ShelfWebServer(this.logger);
|
||||
@override
|
||||
void start(int port, {Function? interceptor}) async {}
|
||||
void start(int port,
|
||||
{Function? interceptor, Function(String?)? tokenCheck}) async {}
|
||||
|
||||
@override
|
||||
void stop() {}
|
||||
|
||||
Reference in New Issue
Block a user