This interface defines virtual methods for each of the user-facing overload sets in SessionsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SessionsClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["This webpage details the `SessionsConnection` object, which is a critical component for interacting with the `SessionsClient` in the Dialogflow ES C++ library."],["The `SessionsConnection` interface facilitates the customization of client behavior, such as injecting mock objects for testing."],["The page provides links to various versions of `SessionsConnection`, from version 2.11.0 to the latest release candidate 2.37.0-rc."],["The documented functions include `options()`, `DetectIntent()`, and `AsyncStreamingDetectIntent()`, which enable different types of interactions with Dialogflow ES."],["Instructions are provided for creating concrete instances of `SessionsConnection` using `MakeSessionsConnection()`, and for mocking instances using `dialogflow_es_mocks::MockSessionsConnection`."]]],[]]