proxy support [REQUEST]
Pranavprana opened this issue · 1 comments
Pranavprana commented
I was searching around how would I use proxy with the socket
I tried this but having an issue did you already figure it out ??
found something that'll work with c#
https://stackoverflow.com/questions/35066981/how-to-use-proxy-with-tcpclient-connectasync
Pranavprana commented
s.connect((proxy.split(":")[0], int(proxy.split(":")[1])))
a = f'CONNECT {address[0]}:{address[1]} HTTP/1.1\n\n'.encode('utf-8')
s.send(a)