Run the client.
()
| 95 | |
| 96 | |
| 97 | def main() -> int: |
| 98 | """Run the client.""" |
| 99 | args = parse_args() |
| 100 | print(args) |
| 101 | |
| 102 | with open_connection(args.proxy_address, args.proxy_port) as sock: |
| 103 | send_expect_request(sock, args.server_hostname) |
| 104 | drain_response(sock) |
| 105 | print('Done.') |
| 106 | return 0 |
| 107 | |
| 108 | |
| 109 | if __name__ == '__main__': |
no test coverage detected