HTTP request execute interceptor to intercept a HttpRequestMessage before it has
been sent. Sample usage is attaching "Authorization" header to a request.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIHttpExecuteInterceptor\u003c/code\u003e interface allows interception of an \u003ccode\u003eHttpRequestMessage\u003c/code\u003e before it is sent, enabling modifications like adding an "Authorization" header.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a method \u003ccode\u003eInterceptAsync\u003c/code\u003e that is invoked before the request is sent, taking the \u003ccode\u003eHttpRequestMessage\u003c/code\u003e and a \u003ccode\u003eCancellationToken\u003c/code\u003e as parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe interface is part of the \u003ccode\u003eGoogle.Apis.Http\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Apis.Core.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eSeveral versions of the interface are available, ranging from version 1.50.0 to the latest 1.69.0.\u003c/p\u003e\n"],["\u003cp\u003eThere are extension methods provided, \u003ccode\u003eHttpExtenstions.ToDelegatingHandler\u003c/code\u003e, which are used to convert \u003ccode\u003eIHttpExecuteInterceptor\u003c/code\u003e instances into a \u003ccode\u003eDelegatingHandler\u003c/code\u003e in order to process the request.\u003c/p\u003e\n"]]],[],null,[]]