Share via


StaticAssetResponseHeader(String, String) Constructor

Definition

A response header to apply to the response when a static asset is served.

public StaticAssetResponseHeader (string name, string value);
new Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader : string * string -> Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader
Public Sub New (name As String, value As String)

Parameters

name
String

The name of the header.

value
String

The value of the header.

Applies to