This post explains how to build your own curl in Rust. It covers topics such as TCP client-server connections, using the clap library for command line arguments, and creating a socket connection in Rust.
Table of contents
1. Getting the CLI arguments.2. Drafting request with input information [ HTTP 1.1 - RFC9110.]3. Creation of socket connection4. Sending the request5. Time for TestingSource CodeSort: