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 page details the `SessionsConnection` object, which is a critical component for the `SessionsClient` within the Dialogflow ES C++ library."],["The interface provides virtual methods that mirror the user-facing overload sets found in `SessionsClient`, enabling custom behavior injection for testing purposes."],["The latest version is 2.37.0-rc, and there are numerous prior versions of the `SessionsConnection` class listed and documented on the page."],["Users can create concrete instances of this object using the `MakeSessionsConnection()` function, and for testing, they can use the `dialogflow_es_mocks::MockSessionsConnection` class."],["Key functions include `options()`, `DetectIntent()`, and `AsyncStreamingDetectIntent()`, which are detailed with parameter and return information."]]],[]]