API Reference¶
This section contains the complete API documentation for asyncio-https-proxy.
Main Function¶
start_proxy_server(handler_builder, host, port, tls_store)
async
¶
Start the proxy server.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
handler_builder
|
Callable[[], HTTPSProxyHandler]
|
A callable that returns a new instance of HTTPSProxyHandler. |
required |
host
|
str
|
The host to bind the server to. |
required |
port
|
int
|
The port to bind the server to. |
required |
Classes¶
- HTTPSProxyHandler - Base handler class for processing requests
- HTTPSForwardProxyHandler - Built-in forward proxy handler with automatic request forwarding
- HTTPRequest - HTTP request representation
- HTTPResponse - HTTP response representation
- HTTPHeader - HTTP header collection
- TLSStore - TLS certificate management