Text

Plain text content.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

The text string.

Functions

Link copied to clipboard
open override fun map(): Content.Text
Link copied to clipboard
open override fun toRequestContent(): Content.Request

Converts this to a core Content.Request.

Link copied to clipboard
open override fun toResponseContent(): Content.Response

Converts this to a core Content.Response.