qwj / python-proxy

HTTP/HTTP2/HTTP3/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio.
MIT License
1.99k stars 333 forks source link

start the server via python code #132

Open madaraXor opened 3 years ago

madaraXor commented 3 years ago

hello i would like to use proxy in one of my programs does anyone have any idea how to start the server via python code ? Does he have a method like that ? import pproxy server = pproxy.Server() server.serve_forever()

Jonney commented 2 years ago

136 136