UNPKG

http-directives

Version:

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

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