struct

DeviceDetector::Parser::Library

Inherits DeviceDetector::Helper < Struct < Value < Object

Constants

LIBRARY_HINTS = /curl|libcurl|wget|python|java|okhttp|httpclient|http.rb|Go-http-client|axios|node|ruby|perl|php|postman/i

Constructors

new(user_agent : String)
Source

Class methods

prepare

Compiles all library-client rules into the shared immutable registry.

Source
regex_patterns

Returns the regular-expression sources used by this parser.

Source

Instance methods

call
Source
kind
Source
libraries
Source

Nested types