FakeServerApi

export declare class FakeServerApi {

    getModules(): Array<IModule>;

    GET(url: string, headers?: Object): Promise<FakeResponseApi>;

    OPTIONS(url: string, headers?: Object): Promise<FakeResponseApi>;

    HEAD(url: string, headers?: Object): Promise<FakeResponseApi>;

    DELETE(url: string, headers?: Object): Promise<FakeResponseApi>;

    TRACE(url: string, headers?: Object): Promise<FakeResponseApi>;

    CONNECT(url: string, headers?: Object): Promise<FakeResponseApi>;

    POST(url: string, data?: string | Buffer, headers?: Object): Promise<FakeResponseApi>;

    PUT(url: string, data?: string | Buffer, headers?: Object): Promise<FakeResponseApi>;

    PATCH(url: string, data?: string | Buffer, headers?: Object): Promise<FakeResponseApi>;

}

results matching ""

    No results matching ""