Companion

object Companion

Functions

Link copied to clipboard
fun parse(raw: String?): EntityTag?

Parses a raw ETag header value into an EntityTag, or returns null when raw is null or blank. A leading W/ (case-insensitive) marks a weak validator; surrounding double quotes are stripped from the value.