ogzhanolguncu / rs_curl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust-based Curl Clone

This Curl Clone is a Rust command-line application for making HTTP requests. It combines async(tokio) rust with secure TLS connections.

Features

  • Supports HTTP and HTTPS protocols
  • Allows GET, POST, PUT, DELETE methods
  • Customizable request headers and body data
  • Verbose mode for detailed request/response headers
  • Automatic URL parsing into components
  • Secure TLS communication for HTTPS requests
  • Asynchronous I/O for enhanced performance

Usage

Usage: rs_curl [OPTIONS] --url <URL>

Options:
  -u, --url <URL>
  -v, --verbose
  -h, --header <HEADER>
  -d, --data <DATA>
      --help
  -x, --x <X>            [default: get] [possible values: delete, get, post, put]
  -V, --version          Print version


 ✘ cargo run -- -u https://httpbin.org/get -v;

About


Languages

Language:Rust 100.0%