parse


Description:

public static ContentType parse (ParserOptions? options, string str)

Parses the input string into a ContentType object.

Parameters:

options

a ParserOptions or null

str

input string containing a content-type (and params)

Returns:

a new ContentType object.