Options
All
  • Public
  • Public/Protected
  • All
Menu

@sajari/sdk-js

Index

Type aliases

MetricResponse

MetricResponse: number

Option

Option: function

Option is a function type which defines functions for setting config options on a Client. See Client.constructor for more details.

Type declaration

    • Parameters

      Returns void

RequestCallback

RequestCallback: function

Type declaration

    • Parameters

      Returns void

SearchCallback

SearchCallback: function

SearchCallback defines the callback supplied to a Pipeline.search. See Pipeline.search for more details.

Type declaration

Token

Functions

Const withEndpoint

  • withEndpoint(endpoint: string): (Anonymous function)
  • withEndpoint constructs an Option that sets the endpoint used by the client.

    Parameters

    • endpoint: string

    Returns (Anonymous function)

Generated using TypeDoc