@darlean/webservice-suite
Version:
Webservice Suite that acts as Web/API Gateway that invokes actors to serve HTTP requests
19 lines (18 loc) • 397 B
TypeScript
export interface IHandlerCfg {
path?: string;
method?: string;
actorType?: string;
actorId?: string[];
actionName?: string;
placeholders?: string[];
}
export interface IHostCfg {
id?: string;
port?: number;
handlers?: IHandlerCfg[];
actorType?: string;
actorId?: string[];
}
export interface IWebServiceCfg {
hosts?: IHostCfg[];
}