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 provides documentation for the \u003ccode\u003eSessionsConnection\u003c/code\u003e class within the Google Cloud Dialogflow CX C++ library, detailing its role in defining methods for the \u003ccode\u003eSessionsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionsConnection\u003c/code\u003e class allows for injecting custom behavior in tests by using a mock object, such as \u003ccode\u003edialogflow_cx_mocks::MockSessionsConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the Dialogflow CX C++ library, ranging from the latest release candidate version (2.37.0-rc) down to version 2.11.0, indicating a history of updates and releases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionsConnection\u003c/code\u003e class includes virtual methods like \u003ccode\u003eDetectIntent\u003c/code\u003e, \u003ccode\u003eAsyncStreamingDetectIntent\u003c/code\u003e, \u003ccode\u003eMatchIntent\u003c/code\u003e, and \u003ccode\u003eFulfillIntent\u003c/code\u003e, each handling specific types of intent requests and responses.\u003c/p\u003e\n"],["\u003cp\u003eA concrete instance of \u003ccode\u003eSessionsConnection\u003c/code\u003e can be created using the \u003ccode\u003eMakeSessionsConnection()\u003c/code\u003e function.\u003c/p\u003e\n"]]],[],null,[]]