MCPcopy Create free account
hub / github.com/apache/trafficserver / main

Function main

tests/gold_tests/post/expect_client.py:97–106  ·  view source on GitHub ↗

Run the client.

()

Source from the content-addressed store, hash-verified

95
96
97def 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
109if __name__ == '__main__':

Callers 1

expect_client.pyFile · 0.70

Calls 4

send_expect_requestFunction · 0.85
parse_argsFunction · 0.70
open_connectionFunction · 0.70
drain_responseFunction · 0.70

Tested by

no test coverage detected