Crates.io | http4r-core |
lib.rs | http4r-core |
version | 0.0.6 |
source | src |
created_at | 2022-02-24 11:13:28.192477 |
updated_at | 2022-03-20 13:17:15.992022 |
description | Simple, synchronous, symmetric client and server as a function |
homepage | https://http4r.com/ |
repository | https://github.com/TomShacham/http4r |
max_upload_size | |
id | 538441 |
size | 79,487 |
The main contract and functionality of http4r.
composable http handlers implement (Request) -> Response
immutable Request
, Response
, Headers
etc
zero magic or reflection, stupidly simple and zero dependencies
easily test over the wire or rather in-memory
can test in-browser (not over the wire!) by compiling your app to WASM so we can write lightning-fast tests for our front end
http4r is a web toolkit Copyright (C) 2021-onwards Tom Shacham
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING). If not, see https://www.gnu.org/licenses/.
Look at the contributing guidelines at http4r