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 is a bit of an edge case. But I heavily use the proxy functionality of salvo. And with that a lot of editing of the incoming Request queries. Now I could use the mutable uri field but it’s a pain to work with. The queries multimap that salvo provides on the Request struct has a nicer interface. But it’s not mutabele.
is it possible to get a mutable reference to it?
*req.queries_mut() = new_queries
The text was updated successfully, but these errors were encountered:
This is a bit of an edge case. But I heavily use the proxy functionality of salvo. And with that a lot of editing of the incoming Request queries. Now I could use the mutable uri field but it’s a pain to work with. The queries multimap that salvo provides on the Request struct has a nicer interface. But it’s not mutabele.
is it possible to get a mutable reference to it?
*req.queries_mut() = new_queries
The text was updated successfully, but these errors were encountered: