All Projects → neonmoe → minreq

neonmoe / minreq

Licence: ISC license
Simple, minimal-dependency HTTP client.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to minreq

relay
Relay lets you write HTTP requests as easy to read, structured YAML and dispatch them easily using a CLI. Similar to tools like Postman
Stars: ✭ 22 (-75.82%)
Mutual labels:  http-client
cute-http
一个基于axios封装的更易用的http库。
Stars: ✭ 18 (-80.22%)
Mutual labels:  http-client
sway-alttab
Simple Alt-Tab daemon for SwayWM/i3. Switches back to previous focused window on Alt-Tab or SIGUSR1
Stars: ✭ 36 (-60.44%)
Mutual labels:  crates
restofus
Restofus - a cross-platform (REST) API client.
Stars: ✭ 18 (-80.22%)
Mutual labels:  http-client
restler
Restler is a beautiful and powerful Android app for quickly testing REST API anywhere and anytime.
Stars: ✭ 120 (+31.87%)
Mutual labels:  http-client
steganography
A simple steganography library written in rust
Stars: ✭ 75 (-17.58%)
Mutual labels:  crates
kingslayer
A text-based adventure written in Rust
Stars: ✭ 28 (-69.23%)
Mutual labels:  crates
fitch.js
A lightweight Promise based HTTP client, using Fetch API.
Stars: ✭ 35 (-61.54%)
Mutual labels:  http-client
theon
Declarative library to build Web API clients & SDKs for the browser and node.js
Stars: ✭ 50 (-45.05%)
Mutual labels:  http-client
moleculer-http-client
HTTP client mixin that allows Moleculer services to communicate with remote REST APIs
Stars: ✭ 14 (-84.62%)
Mutual labels:  http-client
requests-rs
Rust HTTP client library styled after awesome Python requests
Stars: ✭ 37 (-59.34%)
Mutual labels:  http-client
EasyRetrofit
an encapsulation for Retrofit2.1
Stars: ✭ 34 (-62.64%)
Mutual labels:  http-client
Rx.Http
A reactive way to make HTTP Request in .NET Core 🚀
Stars: ✭ 62 (-31.87%)
Mutual labels:  http-client
framework
Aplus Full-Stack Framework
Stars: ✭ 172 (+89.01%)
Mutual labels:  http-client
crates-io-cn
Source code of crates-io.cn, also tools sets for sync crates.io
Stars: ✭ 20 (-78.02%)
Mutual labels:  crates
lhs
⚛️ REST services accelerator: Rails gem providing an easy, active-record-like interface for http (hypermedia) json services
Stars: ✭ 130 (+42.86%)
Mutual labels:  http-client
BCA-Phantom
A multi-platform HTTP(S) Reverse Shell Server and Client in Python 3
Stars: ✭ 80 (-12.09%)
Mutual labels:  http-client
feign-opentracing
OpenTracing Feign integration
Stars: ✭ 20 (-78.02%)
Mutual labels:  http-client
xhttpc
Extensible HTTP Client for Erlang
Stars: ✭ 25 (-72.53%)
Mutual labels:  http-client
http4s-good-practices
Collection of what I consider good practices in Http4s (WIP)
Stars: ✭ 74 (-18.68%)
Mutual labels:  http-client

minreq

Crates.io Documentation CI

Simple, minimal-dependency HTTP client. Optional features for json responses (json-using-serde), unicode domains (punycode), http proxies (proxy), and https with various TLS implementations (https-rustls, https-rustls-probe, https-bundled, https-bundled-probe,https-native, and https which is an alias for https-rustls).

Without any optional features, my casual testing indicates about 100 KB additional executable size for stripped release builds using this crate. Compiled with rustc 1.45.2, println!("Hello, World!"); is 239 KB on my machine, where the hello example is 347 KB. Both are pure Rust, so aside from libc, everything is statically linked.

Note: some of the dependencies of this crate (especially serde and the various https libraries) are a lot more complicated than this library, and their impact on executable size reflects that.

Documentation

Planned for 3.0.0

This is a list of features I'll implement once it gets long enough, or a severe enough issue is found that there's good reason to make a major version bump.

  • Change the response/request structs to allow multiple headers with the same name.
  • Set sane defaults for maximum header size and status line length. The ability to add maximums was added in response to #55, but defaults for the limits is a breaking change.
  • Clearer error when making a request to an url that does not start with http:// or https://.
  • Non-exhaustive error type?

License

This crate is distributed under the terms of the ISC license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].