Class
DelegatingHandler
class DelegatingHandler
Module: System.Web.Http
Assembly: System.Web.dll
Source file: HttpClient.rvn
Inheritance: Object → HttpHandler → DelegatingHandler
Base for middleware which forwards to an owned inner handler.
Constructors
2 items
DelegatingHandler()
Initializes middleware requiring InnerHandler assignment before sending.
DelegatingHandler(innerHandler: HttpHandler)
Initializes middleware owning the supplied inner handler.
Properties
1 item
InnerHandler: HttpHandler?
The owned next handler. Assign before the first send or disposal.
Methods
6 items
Dispose() -> ()
Disposes the owned inner handler once. Overrides must call base.Dispose().
Overrides HttpHandler.Dispose · Overrides implementation of Disposable.Dispose
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
Send(request: HttpRequest, cancellationToken?: CancellationToken) -> Task<Result<HttpResponse, HttpError>>
Forwards to the inner handler, freezing pipeline configuration.
Overrides HttpHandler.Send
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString