Function relay_ua::init_parser

source ·
pub fn init_parser()
Expand description

Initializes the user agent parser.

This loads and compiles user agent patterns, which takes a few seconds to complete. The user agent parser initializes on-demand when using one of the parse methods. This function forces initialization at a convenient point without introducing unwanted delays.