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

Function _ua

packages/client-search/src/searchClient.ts:224–226  ·  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

222 * Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
223 */
224 get _ua(): string {
225 return transporter.algoliaAgent.value;
226 },
227
228 /**
229 * 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