This interface defines virtual methods for each of the user-facing overload sets in WebRiskServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type WebRiskServiceClient.
[[["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-03-14 UTC."],[[["This webpage provides documentation for the `WebRiskServiceConnection` class, which is a key component for interacting with the `WebRiskServiceClient` in C++."],["The `WebRiskServiceConnection` interface enables custom behavior, such as using mock objects for testing, allowing developers to override and simulate the responses of the WebRiskService."],["The page lists various versions of the WebRiskService, ranging from the latest release candidate 2.37.0-rc down to version 2.11.0, with each version linking to its corresponding `WebRiskServiceConnection` documentation."],["The `WebRiskServiceConnection` class defines virtual methods like `ComputeThreatListDiff`, `SearchUris`, `SearchHashes`, `CreateSubmission`, and `SubmitUri`, each designed to interact with specific aspects of the Web Risk service."],["Developers can use the `MakeWebRiskServiceConnection()` function to create a real instance of the `WebRiskServiceConnection`, or they can utilize `webrisk_v1_mocks::MockWebRiskServiceConnection` for creating mock instances in testing scenarios."]]],[]]