android-components / mozilla.components.browser.search.suggestions

## Package mozilla.components.browser.search.suggestions

### Types

SearchSuggestionClient | `class SearchSuggestionClient` Provides an interface to get search suggestions from a given SearchEngine.

### Type Aliases

JSONResponse | `typealias JSONResponse = String` The Parser is a function that takes a JSON Response and maps it to a Suggestion list.
ResponseParser | `typealias ResponseParser = (JSONResponse) -> List<String>`
SearchSuggestionFetcher | `typealias SearchSuggestionFetcher = suspend (url: String) -> String?` Async function responsible for taking a URL and returning the results