@microfleet/core
Version:
Abstract microservice core
14 lines (13 loc) • 451 B
TypeScript
import { Microfleet, ValidatorPlugin } from '../';
interface RequestCounter {
getRequestCount(): number;
}
declare function attachSocketIO(this: Microfleet & ValidatorPlugin, opts?: any): RequestCounter;
/**
* Relative priority inside the same plugin group type
*/
export declare const priority = 100;
export declare const attach: typeof attachSocketIO;
export declare const name = "socketIO";
export declare const type: "transport";
export {};