feignhttp
feignhttp copied to clipboard
:toolbox: Declarative HTTP client for rust
Add parameters inside struct types to handle dynamic URL's betters, example: ```rust #[derive(Feign)] #[feign(headers = "Accept: {accept}")] struct Github { #[feign_path("owner")] user: &'static str, #[feign_path] repo: &'static str, #[param] accept:...
Hi, I was wondering how difficult it would be to enable templates like `#[get("https://api.github.com/repos/{self.path}")]`. This can be useful to not store URL's as const like the GITHUB example. My usecase...
Currently #[form] supports struct So can #[header] also support it? Because the request headers of some similar interfaces are basically the same, and there are many request headers for some...
Something like [reqwest-middleware](https://github.com/TrueLayer/reqwest-middleware)