@microfleet/core
Version:
Abstract microservice core
19 lines (18 loc) • 476 B
TypeScript
import { Microfleet, ValidatorPlugin, PluginInterface } from '../';
/**
* Plugin Name
*/
export declare const name = "http";
/**
* Plugin Type
*/
export declare const type: "transport";
/**
* Relative priority inside the same plugin group type
*/
export declare const priority = 0;
/**
* Attaches HTTP handler.
* @param config - HTTP handler configuration to attach.
*/
export declare function attach(this: Microfleet & ValidatorPlugin, opts?: any): PluginInterface;