@loopback/rest
Version: 
Expose controllers as REST endpoints and route REST API requests to controller methods
17 lines (16 loc) • 544 B
TypeScript
import { Provider } from '@loopback/core';
import { Middleware } from '@loopback/express';
import { writeResultToResponse } from '../writer';
/**
 * Provides the function that populates the response object with
 * the results of the operation.
 *
 * @returns The handler function that will populate the
 * response with operation results.
 */
export declare class SendProvider {
    static value(): typeof writeResultToResponse;
}
export declare class SendResponseMiddlewareProvider implements Provider<Middleware> {
    value(): Middleware;
}