We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
url
Outside of tests there is only a single use of url::Url in tungstenite:
url::Url
impl<'a> IntoClientRequest for &'a Url { fn into_client_request(self) -> Result<Request> { self.as_str().into_client_request() } } impl IntoClientRequest for Url { fn into_client_request(self) -> Result<Request> { self.as_str().into_client_request() } }
Which is just implementing some helper conversion traits.
Instead, we can just have users call as_str() on the Url directly if needed.
as_str()
With http =1, http::uri::Uri has replaced most uses of the url crate. I have multiple project such that the only use of url is tungstenite.
http
http::uri::Uri
The text was updated successfully, but these errors were encountered:
This can be closed ?! (#419)
Sorry, something went wrong.
No branches or pull requests
Outside of tests there is only a single use of
url::Url
in tungstenite:Which is just implementing some helper conversion traits.
Instead, we can just have users call
as_str()
on the Url directly if needed.With
http
=1,http::uri::Uri
has replaced most uses of theurl
crate. I have multiple project such that the only use ofurl
is tungstenite.The text was updated successfully, but these errors were encountered: