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\u003eThe page details the \u003ccode\u003eSessionsConnection\u003c/code\u003e object for \u003ccode\u003eSessionsClient\u003c/code\u003e in the Dialogflow CX C++ library, which provides an interface with virtual methods for each user-facing overload set in \u003ccode\u003eSessionsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis interface allows custom behavior injection, such as with Google Mock objects, facilitating the creation of tests for \u003ccode\u003eSessionsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.37.0-rc, and the page also references numerous past versions of \u003ccode\u003eSessionsConnection\u003c/code\u003e with links to their respective documentation pages.\u003c/p\u003e\n"],["\u003cp\u003eThe page details several virtual functions including options(), DetectIntent, AsyncStreamingDetectIntent, MatchIntent and FulfillIntent, each with details on parameters and return types.\u003c/p\u003e\n"],["\u003cp\u003eTo use this in a program, you can find the instructions on how to do so by checking out \u003ccode\u003eMakeSessionsConnection()\u003c/code\u003e or \u003ccode\u003edialogflow_cx_mocks::MockSessionsConnection\u003c/code\u003e for mocking.\u003c/p\u003e\n"]]],[],null,[]]