interface ICrowdSecHTTPMiddlewareOptions {
    bouncer?: ICrowdSecHTTPBouncerMiddlewareOptions;
    clientOptions?: Omit<ICrowdSecClientOptions, "url">;
    getCurrentIp?: getCurrentIpFn;
    logger?: loggerOption;
    maxIpCache?: number;
    protectedByHeader?: boolean;
    url: string;
    watcher?: ICrowdSecHTTPWatcherMiddlewareOptions;
}

Hierarchy (view full)

Properties

clientOptions?: Omit<ICrowdSecClientOptions, "url">
getCurrentIp?: getCurrentIpFn
logger?: loggerOption
maxIpCache?: number

IP objects keep in cache . ( usefully on really high load, without multiples instances )

protectedByHeader?: boolean
url: string