Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

of

  • of(protocol: string): Protocol | undefined
  • Get Protocol from its string representation.

    Parameters

    • protocol: string

      Protocol as string, either 'http'/'https' or 'http:'/'https:'.

    Returns Protocol | undefined

    Either the matching protocol or undefined

    Copyright Ⓒ 2021 SAP SE or an SAP affiliate company. All rights reserved.