struct DeviceDetector::Parser::Library

Included Modules

Defined in:

device_detector/parser/library.cr

Constant Summary

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

Constructors

Instance Method Summary

Instance methods inherited from module DeviceDetector::Helper

capture_groups?(str : String) capture_groups?, desktop?(user_agent : String) desktop?, fill_groups(str : String, regex : String, user_agent : String) fill_groups, human_browser?(user_agent : String) human_browser?, regex(pattern : String, options : Regex::Options)
regex(pattern : String)
regex
, token_candidates(index : Hash(String, Array(Int32)), user_agent : String, reverse = false) token_candidates

Constructor Detail

def self.new(user_agent : String) #

[View source]

Instance Method Detail

def call #

[View source]
def kind : String #

[View source]
def libraries #

[View source]