@methodus/server
Version:
Server components for @methodus workflow
23 lines (22 loc) • 681 B
TypeScript
import { MethodResult, MethodError } from '../../response';
export declare class Verbs {
static Get: string;
static Post: string;
static Put: string;
static Patch: string;
static Head: string;
static Delete: string;
}
export declare class RestResponse {
constructor(args: any, methodResult: MethodResult | MethodError | any, headers: any);
}
export declare class RestParser {
deserialize(item: any): any;
parse(args: any, paramsMap: any, functionArgs: any): ParserResponse;
}
export declare class ParserResponse {
args: any;
isRest: boolean;
securityContext: any;
constructor(args: any, isRest: boolean, securityContext: any);
}