跳到主要内容
版本:Next

NoSniffMiddleware

Hierarchy

  • BaseMiddleware
    • NoSniffMiddleware

Index

Constructors

constructor

Properties

ignore

ignore: IgnoreMatcher<any>[]

match

match: IgnoreMatcher<any>[]

security

security: SecurityOptions

Methods

compatibleMiddleware

  • compatibleMiddleware(context: any, req: any, res: any, next: any): Promise<any>

init

  • init(): Promise<void>

resolve

  • resolve(app: any): (req: any, res: any, next: any) => Promise<any>

securityName

  • securityName(): string