searchSuggestions

open suspend fun searchSuggestions(query: String, bypassModel: BypassModel): List<String>?

This function is called only if HeadConfig.isSearchSuggestionsAvailable is enabled, it's used for search autocompletion.

Return

A list of possible titles based on the query

Parameters

query

The current query to search

bypassModel

Cloudflare bypass information extracted by the Main app, if your module doesn't require a bypass you can disable it in HeadConfig.bypassBehavior.