HttpAutocompleteService
fun <T> HttpAutocompleteService(searchEndpoint: SearchEndpoint<T>, json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json)): HttpAutocompleteService<T>
Creates an HttpAutocompleteService that uses the specified searchEndpoint to search for autocomplete suggestions.
Return
An HttpAutocompleteService that uses the specified searchEndpoint to search for autocomplete suggestions.
Parameters
T
The type of the autocomplete suggestions.
searchEndpoint
The HTTP endpoint to use for searching.
json
The JSON serializer to use.
client
The HTTP client to use.