Constructor.io
Loading...
Searching...
No Matches
Constructorio_NET.Modules.Autocomplete Class Reference

Public Member Functions

async Task< AutocompleteResponseGetAutocompleteResults (AutocompleteRequest autocompleteRequest, CancellationToken cancellationToken=default)
 Retrieve Autocomplete results from API.

Additional Inherited Members

Static Public Member Functions inherited from Constructorio_NET.Utils.Helpers
static async Task< T > MakeHttpRequest< T > (Hashtable options, HttpMethod httpMethod, string url, Dictionary< string, string > requestHeaders, object requestBody=null, Dictionary< string, StreamContent > files=null, JsonSerializer jsonSerializer=null, CancellationToken cancellationToken=default)
 Makes a http request and returns the deserialized response.
static async Task< string > MakeHttpRequest (Hashtable options, HttpMethod httpMethod, string url, Dictionary< string, string > requestHeaders, object requestBody=null, Dictionary< string, StreamContent > files=null, CancellationToken cancellationToken=default)
 Makes a http request.
Static Protected Member Functions inherited from Constructorio_NET.Utils.Helpers
static string OurEscapeDataString (string str)
 Method in order to modify a string to ensure proper url encoding.
static Hashtable CleanParams (Hashtable parameters)
 Cleans params before applying them to a request url.
static string MakeUrl (Hashtable options, List< string > paths, Hashtable queryParams, Dictionary< string, bool > omittedQueryParams=null)
 Makes a URL to issue requests with.
Static Protected Attributes inherited from Constructorio_NET.Utils.Helpers
static readonly HttpMethod HttpMethodPatch = new HttpMethod("PATCH")
static readonly Dictionary< string, bool > OmitCQueryParam
static readonly Dictionary< string, bool > OmitDtQueryParam
static readonly Dictionary< string, bool > OmitDtAndCQueryParams

Member Function Documentation

◆ GetAutocompleteResults()

async Task< AutocompleteResponse > Constructorio_NET.Modules.Autocomplete.GetAutocompleteResults ( AutocompleteRequest autocompleteRequest,
CancellationToken cancellationToken = default )
inline

Retrieve Autocomplete results from API.

Parameters
autocompleteRequestConstructorio's autocomplete request object.
cancellationTokenThe cancellation token.
Returns
Constructorio's autocomplete response object.

The documentation for this class was generated from the following file:
  • src/constructor.io/client/modules/Autocomplete.cs