All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.src.config.middleware.example-async-middleware.d.ts Maven / Gradle / Ivy

The newest version!
import { Middleware, MiddlewareRequestHandler } from './middleware';
import { MomentoLoggerFactory } from '../..';
/**
 * This class provides an example of how users can implement a Middleware that
 * requires async calls.
 */
export declare class ExampleAsyncMiddleware implements Middleware {
    private readonly logger;
    constructor(loggerFactory: MomentoLoggerFactory);
    onNewRequest(): MiddlewareRequestHandler;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy