public static DelegatingHandler ToDelegatingHandler(this IHttpExecuteInterceptor interceptor)
Creates aDelegatingHandlerwhich applies the execution interceptor
ininterceptor(usually a credential) before delegating onwards.
TheInnerHandlerof the returned handler must be specified before
the first request is made.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eHttpExtensions\u003c/code\u003e class, which provides extension methods for \u003ccode\u003eHttpRequestMessage\u003c/code\u003e and \u003ccode\u003eHttpResponseMessage\u003c/code\u003e within the \u003ccode\u003eGoogle.Apis.Http\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpExtensions\u003c/code\u003e class offers methods like \u003ccode\u003eSetEmptyContent\u003c/code\u003e, which sets an empty HTTP content, and \u003ccode\u003eToDelegatingHandler\u003c/code\u003e, used for applying an \u003ccode\u003eIHttpExecuteInterceptor\u003c/code\u003e before further message delegation.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes standard inherited members such as \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has support for multiple version within the google API including version 1.69.0, 1.68.0, 1.60.0, 1.59.0, 1.55.0, and 1.50.0.\u003c/p\u003e\n"]]],[],null,[]]