| @@ -20,7 +20,7 @@ aiohttp 2.0+ | |||||
| Features | Features | ||||
| -------- | -------- | ||||
| - SOCKS4, SOCKS4a and SOCKS5 version | - SOCKS4, SOCKS4a and SOCKS5 version | ||||
| - SocksConnector for aiohttp | |||||
| - ProxyConnector for aiohttp | |||||
| - SOCKS "CONNECT" command | - SOCKS "CONNECT" command | ||||
| TODO | TODO | ||||
| @@ -152,10 +152,10 @@ aiohttp usage | |||||
| ba = aiohttp.BasicAuth('login') | ba = aiohttp.BasicAuth('login') | ||||
| # remote resolve | # remote resolve | ||||
| conn = ProxyConnecotr(remote_resolve=True) | |||||
| conn = ProxyConnector(remote_resolve=True) | |||||
| # or locale resolve | # or locale resolve | ||||
| conn = SocksConnector(remote_resolve=False) | |||||
| conn = ProxyConnector(remote_resolve=False) | |||||
| try: | try: | ||||
| with aiohttp.ClientSession(connector=conn, request_class=ProxyClientRequest) as session: | with aiohttp.ClientSession(connector=conn, request_class=ProxyClientRequest) as session: | ||||