uptime-kuma-api/uptime_kuma_api/proxy_protocol.py
2022-12-29 00:22:53 +01:00

23 lines
336 B
Python

from enum import Enum
class ProxyProtocol(str, Enum):
"""Enumerate proxy protocols."""
HTTPS = "https"
"""HTTPS"""
HTTP = "http"
"""HTTP"""
SOCKS = "socks"
"""SOCKS"""
SOCKS5 = "socks5"
"""SOCKS v5"""
SOCKS5H = "socks5h"
"""SOCKS v5 (+DNS)"""
SOCKS4 = "socks4"
"""SOCKS v4"""