Options
All
  • Public
  • Public/Protected
  • All
Menu

Module RequestHeaders

Index

Type aliases

Type aliases

RequestHeaders

RequestHeaders: { accept?: string; authorization?: string; user-agent?: string }

Type declaration

  • [header: string]: string | number | undefined
  • Optional accept?: string

    Avoid setting headers.accept, use mediaType.{format|previews} option instead.

  • Optional authorization?: string

    Use authorization to send authenticated request, remember token / bearer prefixes. Example: token 1234567890abcdef1234567890abcdef12345678

  • Optional user-agent?: string

    user-agent is set do a default and can be overwritten as needed.

Generated using TypeDoc