node-firewalla
Version:
Package to talk your firewalla box & API
13 lines • 488 B
TypeScript
export declare class Networker {
baseUrl: string;
authToken: string;
baseHeaders: object;
constructor(baseUrl: string);
setAuth(token: string): void;
addHeader(key: string, value: string): void;
authPostRelative(endpoint: string, body: object): Promise<any>;
authPost(url: string, body: object): Promise<any>;
authGetRelative(endpoint: string): Promise<any>;
authGet(url: string): Promise<any>;
}
//# sourceMappingURL=Networker.d.ts.map