ExAgent.Parser behaviour

Parser module to call individual data parsers and aggregate the results.

Source

Summary

parse(ua)

Parses a given user agent string

Functions

parse(ua)

Specs:

Parses a given user agent string.

Source

Callbacks

parse/2

Specs:

Parses information from a user agent.

Returns :unknown if no information is not found in the database.

iex> parse("--- undetectable ---", [])
:unknown
Source