public static Href From(string value, bool strict = true) { var href = HttpLink.From(value, strict: false) ?? HttpResource.From(value, strict: false) as Href; ExpectNot(strict && href == null, "Failed to parse href: " + value); return(href); }
public HttpLink ToLink() => HttpLink.From(this);