Options
All
  • Public
  • Public/Protected
  • All
Menu

External module common/lib/headers

Variables

Const BROWSER_USER_AGENT_HEADER

BROWSER_USER_AGENT_HEADER: string = "X-Orcl-User-Agent"

Let NODE_PLATFORM_HASH

NODE_PLATFORM_HASH: Map<string, string> = new Map<string, string>()

Const OPC_REQUEST_ID_HEADER

OPC_REQUEST_ID_HEADER: string = "opc-request-id"

Const PLATFORM_KEY

PLATFORM_KEY: "platform" = "platform"

Const RELEASE_KEY

RELEASE_KEY: "relase" = "relase"

Const USER_AGENT_HEADER

USER_AGENT_HEADER: string = "User-Agent"

Const VERSION_KEY

VERSION_KEY: "nodeVersion" = "nodeVersion"

Const uuidv1

uuidv1: any = require("uuid/v1")

Functions

addOpcRequestId

  • addOpcRequestId(headers: Headers): void

addUserAgent

  • addUserAgent(headers: Headers): void

generateRequestId

  • generateRequestId(): any

hasOpcRequestId

  • hasOpcRequestId(headers: Headers): boolean

populatePlatformHash

  • populatePlatformHash(): void