uptime-kuma-api/uptime_kuma_api/proxy_protocol.py

21 lines
281 B
Python
Raw Normal View History

2022-07-02 20:26:18 +02:00
from enum import Enum
class ProxyProtocol(str, Enum):
"""Enumerate proxy protocols."""
2022-07-02 20:26:18 +02:00
HTTPS = "https"
"""HTTPS"""
2022-07-02 20:26:18 +02:00
HTTP = "http"
"""HTTP"""
2022-07-02 20:26:18 +02:00
SOCKS = "socks"
"""SOCKS"""
2022-07-02 20:26:18 +02:00
SOCKS5 = "socks5"
"""SOCKS5"""
2022-07-02 20:26:18 +02:00
SOCKS4 = "socks4"
"""SOCKS4"""