Share via


ETagMessageHandler Class

Definition

Defines a HttpMessageHandler to add an ETag header value to an OData response when the response is a single resource that has an ETag defined.

public class ETagMessageHandler : System.Net.Http.DelegatingHandler
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class ETagMessageHandler : Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute
type ETagMessageHandler = class
    inherit DelegatingHandler
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type ETagMessageHandler = class
    inherit ActionFilterAttribute
Public Class ETagMessageHandler
Inherits DelegatingHandler
Public Class ETagMessageHandler
Inherits ActionFilterAttribute
Inheritance
ETagMessageHandler
Inheritance
ETagMessageHandler
Attributes

Constructors

ETagMessageHandler()

Methods

OnActionExecuted(ActionExecutedContext) System.Net.Http.DelegatingHandler.OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext)
SendAsync(HttpRequestMessage, CancellationToken)

Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.

Applies to