Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "tools/URLUtils"

Index

Interfaces

Functions

Functions

parse

  • parse(str: string): { host: string; hostname: string; isSecurity: boolean; port: string; protocol: string }
  • 解析URL

    Parameters

    • str: string

    Returns { host: string; hostname: string; isSecurity: boolean; port: string; protocol: string }

    • host: string
    • hostname: string
    • isSecurity: boolean
    • port: string
    • protocol: string

parseToServerInfo

Generated using TypeDoc