Sample code for 30+ languages & platforms
Rust

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Rust Downloads

Rust
let http = chilkat::Http::new();

let domain = http.get_domain("https://chilkatsoft.com/refdoc/csharp.asp").unwrap_or_default();
println!("{}", domain);

// Output: chilkatsoft.com