parse

inline fun <R> parse(value: String, init: (String, List<HeaderValueParam>) -> R): R

Parse header with parameter and pass it to init function to instantiate particular type