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 object within the Dialogflow CX C++ library, with version 2.37.0-rc as the latest available release candidate.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessionsConnection\u003c/code\u003e defines virtual methods that correspond to the user-facing overload sets found in \u003ccode\u003eSessionsClient\u003c/code\u003e, enabling custom behavior in tests using \u003ccode\u003eSessionsClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeSessionsConnection()\u003c/code\u003e function is used to create concrete instances of \u003ccode\u003eSessionsConnection\u003c/code\u003e, and \u003ccode\u003eMockSessionsConnection\u003c/code\u003e is available for mocking in testing scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionsConnection\u003c/code\u003e object includes virtual functions such as \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eDetectIntent()\u003c/code\u003e, \u003ccode\u003eAsyncStreamingDetectIntent()\u003c/code\u003e, \u003ccode\u003eMatchIntent()\u003c/code\u003e, and \u003ccode\u003eFulfillIntent()\u003c/code\u003e which all have their individual parameters and return types.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides links to different versions of the \u003ccode\u003eSessionsConnection\u003c/code\u003e object starting from version 2.11.0 all the way to 2.37.0-rc.\u003c/p\u003e\n"]]],[],null,[]]