Interface ApiKeyMiddlewareOpts

Hierarchy

  • ApiKeyMiddlewareOpts

Properties

Properties

apiKey: string

The API key string to specify as an http header value.

host?: string | RegExp

The middleware / API key header will only be added to requests matching this host.

httpHeader?: string

The http header name used for specifying the API key value.

Generated using TypeDoc