Options
All
  • Public
  • Public/Protected
  • All
Menu

Variables

Const protocolPortMap

protocolPortMap: Map<any, any> = new Map().set('http', 80).set('https', 443).set('ssh', 22).set('ftp', 21)

协议与默认端口映射表

Functions

parseUrl

解析 url 字符串

Parameters

  • url: string

    url 字符串,不能为空

Returns IUrlObject | null

url 对象

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.