-
SummaryThis might be a stupid question. If so, I am sorry. I would like to send some HTTPS request from server when it is triggered by another HTTPS request sent to the server. I can see there are some examples like using There might be no built-in client library provided by axum, unlike axum version0.7.5 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think a closer equivalent to It's safe to use |
Beta Was this translation helpful? Give feedback.
axum
is for building HTTP servers, it does not provide a client.I think a closer equivalent to
aiohttp
would behyper
on which bothaxum
andreqwest
is built.It's safe to use
reqwest
insideaxum
handlers, just note that some types may have the same name but actually be different (e.g. if you wanted to takeResponse
fromreqwest
and return that from anaxum
handler).