You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This handler is not accepted by aide::axum::routing::get_with because it returns Body. (If I change Body to e.g. Vec<u8>, the call to get_with() compiles.) I need to return Body to stream the response to the client. Is there a way to pass such a handler to aide?
The text was updated successfully, but these errors were encountered:
I have an endpoint declared like this:
This handler is not accepted by
aide::axum::routing::get_with
because it returnsBody
. (If I changeBody
to e.g.Vec<u8>
, the call toget_with()
compiles.) I need to returnBody
to stream the response to the client. Is there a way to pass such a handler toaide
?The text was updated successfully, but these errors were encountered: