chore: token
This commit is contained in:
1 parent
b5d24d751d
commit
89188958ec
5 files changed
+14
-12
No files matched your search
@@ -5,8 +5,10 @@ import { OB11BaseEvent } from '@/onebot/event/OB11BaseEvent';
|
||||
export class OB11ActiveHttpAdapter implements IOB11NetworkAdapter {
|
||||
url: string;
|
||||
private actionMap: Map<string, BaseAction<any, any>> = new Map();
|
||||
heartbeatInterval: number;
|
||||
|
||||
constructor(url: string) {
|
||||
constructor(url: string, heartbeatInterval: number) {
|
||||
this.heartbeatInterval = heartbeatInterval;
|
||||
this.url = url;
|
||||
}
|
||||
registerHeartBeat() {
|
||||
|
||||
Reference in new issue
Block a user