MCPcopy Create free account
hub / github.com/algolia/algoliasearch-client-javascript / _ua

Function _ua

packages/client-search/src/searchClient.ts:221–223  ·  view source on GitHub ↗

* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.

()

Source from the content-addressed store, hash-verified

219 * Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
220 */
221 get _ua(): string {
222 return transporter.algoliaAgent.value;
223 },
224
225 /**
226 * Adds a `segment` to the `x-algolia-agent` sent with every requests.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected