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
While using the Rust crate for ada-url I have noticed that there's only url.host_type() but there's no getter for the schema type. It'd be great if we could expose the schema type as well so we have the same API surface as the C++ lib.
For example:
let url = Url::parse(href,None).expect("bad url");let schema_type = url.schema_type();
The text was updated successfully, but these errors were encountered:
While using the Rust crate for ada-url I have noticed that there's only
url.host_type()
but there's no getter for the schema type. It'd be great if we could expose the schema type as well so we have the same API surface as the C++ lib.For example:
The text was updated successfully, but these errors were encountered: