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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[[["This webpage details the `SessionsConnection` object, which is part of the Dialogflow ES C++ client library and is available in multiple versions, ranging from the latest 2.37.0-rc down to 2.11.0."],["The `SessionsConnection` interface defines virtual methods for user-facing overloads in `SessionsClient`, enabling users to inject custom behaviors, particularly useful for testing purposes."],["A concrete instance of `SessionsConnection` can be created using the `MakeSessionsConnection()` function, and a mock implementation is available via `dialogflow_es_mocks::MockSessionsConnection`."],["The `SessionsConnection` object provides access to several functions including `DetectIntent`, `AsyncStreamingDetectIntent`, `ListLocations`, `GetLocation`, `ListOperations`, `GetOperation`, and `CancelOperation`."],["The primary functions in the interface are designed to interact with Dialogflow, supporting operations such as detecting intent, managing streaming intent requests and responses, location services, and operation management."]]],[]]