Class ResponseDecorator
Decorater that can be used to decorate output from IJson
Inheritance
System.Object
ResponseDecorator
Namespace: EPiServer.Formatters
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public class ResponseDecorator : Object
Constructors
ResponseDecorator()
Declaration
public ResponseDecorator()
Properties
Encoding
Encoding for the response
Declaration
public Encoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
Default value is System.
PrefixWriter
Can be used to have additional output before main response
Declaration
public Func<TextWriter, Task> PrefixWriter { get; set; }
Property Value
Type | Description |
---|---|
System. |
SuffixWriter
Can be used to have additional output after main response
Declaration
public Func<TextWriter, Task> SuffixWriter { get; set; }
Property Value
Type | Description |
---|---|
System. |