Class: HttpClient

searchService.HttpClient(config)

new HttpClient(config)

HttpClient.

Contains the "backend-connection" of the search bar. It submits the search query, parses the results and informs the callback as soon as these results are available.

Parameters:
Name Type Description
config HttpSearchConfig
Source:

Members

config :HttpSearchConfig

Configuration for the search HTTP requests.

Type:
  • HttpSearchConfig
Source:

This function will be called to trigger search (calling the search backend).

Source: