UNPKG

http-directives

Version:

A TypeScript-friendly package that provides strongly-typed HTTP constants

41 lines (39 loc) 1.36 kB
declare class Protocols { static readonly HTTP = "http:"; static readonly HTTPS = "https:"; static readonly WS = "ws:"; static readonly WSS = "wss:"; static readonly DATA = "data:"; static readonly ABOUT = "about:"; static readonly JAVASCRIPT = "javascript:"; static readonly MAILTO = "mailto:"; static readonly FILE = "file:"; static readonly FTP = "ftp:"; static readonly FTPS = "ftps:"; static readonly SFTP = "sftp:"; static readonly TFTP = "tftp:"; static readonly RSYNC = "rsync:"; static readonly SMB = "smb:"; static readonly NFS = "nfs:"; static readonly SMTP = "smtp:"; static readonly SMTPS = "smtps:"; static readonly POP3 = "pop3:"; static readonly IMAP = "imap:"; static readonly IMAPS = "imaps:"; static readonly RTSP = "rtsp:"; static readonly RTMP = "rtmp:"; static readonly RTMPS = "rtmps:"; static readonly HLS = "hls:"; static readonly RTP = "rtp:"; static readonly MQTT = "mqtt:"; static readonly COAP = "coap:"; static readonly DNS = "dns:"; static readonly NTP = "ntp:"; static readonly SSH = "ssh:"; static readonly TELNET = "telnet:"; static readonly SNMP = "snmp:"; static readonly LDAP = "ldap:"; static readonly LDAPS = "ldaps:"; static readonly GOPHER = "gopher:"; } export { Protocols };