Package-level declarations

Types

Link copied to clipboard

Represents an autocomplete service that uses an HTTP endpoint to search for suggestions.

Link copied to clipboard

Represents an HTTP endpoint that can be used to search for autocomplete suggestions.

Functions

Link copied to clipboard
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.