Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/lib/utils"

Index

Variables

HTTP_HEADER_OPERATOR

HTTP_HEADER_OPERATOR: string = "="

HTTP_HEADER_SEPARATOR

HTTP_HEADER_SEPARATOR: string = ";"

Functions

getCurrentTime

  • getCurrentTime(): number

getTimezone

  • getTimezone(): string

padLeft

  • padLeft(str: any, len: number, char?: string): string
  • Parameters

    • str: any
    • len: number
    • Default value char: string = " "

    Returns string

padRight

  • padRight(str: any, len: number, char?: string): string
  • Parameters

    • str: any
    • len: number
    • Default value char: string = " "

    Returns string

parseHeaderParams

  • parseHeaderParams(params: string): Map<string, string>

stringFromChar

  • stringFromChar(char: string, count: number): string

stringifyHeaderParams

  • stringifyHeaderParams(params: Dictionary<string>): string

zeroPad

  • zeroPad(number: number | string, len: number): string
  • Adds zeros to the left of the string representation of number until its length is equal to len.

    Parameters

    • number: number | string
    • len: number

    Returns string

Generated using TypeDoc