### has URL $!root-url The base URL object to create all URLs from. ### has Mu $!user-agent The user agent which will be used internally for handling HTTP requests. ### method search ```perl6 method search( Str:D $entity, Str:D $query, Int $limit = 30, Int $offset = 0 ) returns Mu ``` Private method to perform search requests. class Str:D $entity ------------------- The name of the entity to search for. class Str:D $query ------------------ The query to search for. class Int $limit = 30 --------------------- The number of results to fetch. class Int $offset = 0 --------------------- The offset from the start. ### method http-request ```perl6 method http-request( URL:D $url ) returns Associative ``` Private method to handle the actual HTTP requests. class URL:D $url ---------------- The URL to make the request to. class $query ------------ A string to search for. class Int $limit = Int ---------------------- The maximum number of results to fetch. class Int $offset = Int ----------------------- An offset from the start of the result set. NAME ==== HTTP::API::MusicBrainz VERSION ======= 0.0.1 AUTHOR ====== Patrick Spek