FeedEnclosure
fun FeedEnclosure(url: String, configure: FeedEnclosure.Builder.() -> Unit = {}): FeedEnclosure(source)
Builds a FeedEnclosure. Stable Core. The factory requires the invariants a value must hold and applies no limit and no fallback: the URL is a canonical absolute link (lower-case http or https scheme, no white space, control character or backslash, no user-info, a host of letters, digits, -, ., _ or non-ASCII characters or a bracketed IPv6 literal, a port of at most 65535).
Return
the enclosure.
Parameters
url
the media file's link: a canonical absolute http or https link.
configure
sets the optional fields; none when omitted.
Throws
if url is not a canonical absolute link or lengthBytes is set and not positive; the message never echoes a value.