70c71161f3
- FastAPI backend with full Proxmox VE API integration - ISO builder using proxmox-auto-install-assistant - Premium dark-mode SPA frontend with glassmorphism design - VM lifecycle management (create, start, stop, destroy) - Build pipeline tracking with real-time logs - Deployment automation for custom auto-installer ISOs - Production deployment script (setup.sh + systemd) - Comprehensive README with API documentation
16 lines
586 B
Python
16 lines
586 B
Python
from typing import Protocol
|
|
|
|
|
|
class HTTPProtocol(Protocol):
|
|
"""Used for providing static type-checking when parsing through the http protocol"""
|
|
|
|
def on_message_begin(self) -> None: ...
|
|
def on_url(self, url: bytes) -> None: ...
|
|
def on_header(self, name: bytes, value: bytes) -> None: ...
|
|
def on_headers_complete(self) -> None: ...
|
|
def on_body(self, body: bytes) -> None: ...
|
|
def on_message_complete(self) -> None: ...
|
|
def on_chunk_header(self) -> None: ...
|
|
def on_chunk_complete(self) -> None: ...
|
|
def on_status(self, status: bytes) -> None: ...
|