HtmlTextFragment
Assembly: ServiceStack.dll
View Source
Declaration
public class HtmlTextFragment : IHtmlModuleFragment
Properties
Text
View Source
Declaration
public ReadOnlyMemory<char> Text { get; }
TextUtf8
View Source
Declaration
public ReadOnlyMemory<byte> TextUtf8 { get; }
Methods
WriteToAsync(HtmlModuleContext, Stream, CancellationToken)
View Source
Declaration
public async Task WriteToAsync(HtmlModuleContext ctx, Stream responseStream, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.HtmlModuleContext | ctx |
System.IO.Stream | responseStream |
System.Threading.CancellationToken | token |