chore: token

This commit is contained in:
手瓜一十雪 committed 2024-08-10 17:07:23 +08:00
1 parent b5d24d751d
commit 89188958ec
5 files changed
+14 -12

No files matched your search

+3 -1
View File
@@ -11,9 +11,11 @@ export class OB11PassiveHttpAdapter implements IOB11NetworkAdapter {
private hasBeenClosed: boolean = false;
private actionMap: Map<string, BaseAction<any, any>> = new Map();
private port: number;
token: string;
constructor(port: number) {
constructor(port: number,token: string) {
this.port = port;
this.token = token;
}
registerAction<T extends BaseAction<P, R>, P, R>(action: T) {