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."],[[["\u003cp\u003eThis webpage documents the \u003ccode\u003eSessionsConnection\u003c/code\u003e object for \u003ccode\u003eSessionsClient\u003c/code\u003e in the Dialogflow CX C++ library, providing access to various Dialogflow CX functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSessionsConnection\u003c/code\u003e class is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, with numerous previous versions also available, ranging from \u003ccode\u003e2.11.0\u003c/code\u003e to \u003ccode\u003e2.36.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessionsConnection\u003c/code\u003e allows custom behavior injection for testing purposes using mock objects, as demonstrated by the \u003ccode\u003eMockSessionsConnection\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessionsConnection\u003c/code\u003e provides virtual methods for core Dialogflow CX operations, such as \u003ccode\u003eDetectIntent\u003c/code\u003e, \u003ccode\u003eAsyncStreamingDetectIntent\u003c/code\u003e, \u003ccode\u003eMatchIntent\u003c/code\u003e, and \u003ccode\u003eFulfillIntent\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo create a tangible instance of this class, one can utilize the \u003ccode\u003eMakeSessionsConnection()\u003c/code\u003e function.\u003c/p\u003e\n"]]],[],null,[]]