class SearchSuggestionClient
Provides an interface to get search suggestions from a given SearchEngine. |
typealias JSONResponse = String
The Parser is a function that takes a JSON Response and maps it to a Suggestion list. |
|
typealias ResponseParser = (JSONResponse) -> List<String> |
|
typealias SearchSuggestionFetcher = suspend (url: String) -> String?
Async function responsible for taking a URL and returning the results |