Table of Contents

Class HtmlContent

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

Provides HTTP content based on HTML contents.

public class HtmlContent : StringContent, IDisposable
Inheritance
HtmlContent
Implements
Inherited Members

Constructors

HtmlContent(ReadOnlySpan<byte>)

Creates a new HtmlContent class with given HTML content as a UTF-8 encoded byte span.

HtmlContent(ReadOnlySpan<byte>, Encoding)

Creates a new HtmlContent class with given HTML content as a byte span and encoding.

HtmlContent(string)

Creates an new HtmlContent class with given HTML content, using the environment default encoding.

HtmlContent(string, Encoding)

Creates an new HtmlContent class with given HTML content and encoding.