ua_parser v1.0.0 UAParser.UA
User Agent struct and helper methods
Summary
Functions
Display the UA as a string
Functions
Display the UA as a string
Examples
iex> version = %UAParser.Version{major: “1”, minor: “2”, patch: “3”, patch_minor: “4”} iex> agent = %UAParser.UA{family: “Family”, version: version} iex> to_string(agent) “Family 1.2.3.4”
iex> agent = %UAParser.UA{family: “Family”} iex> to_string(agent) “Family”
iex> agent = %UAParser.UA{} iex> to_string(agent) “Other”