TextContent
class TextContent(text: String, contentType: ContentType, status: HttpStatusCode?) : OutgoingContent.ByteArrayContent
Content copied to clipboard
Represents a text content that could be sent
Constructors
Link copied to clipboard
fun TextContent(text: String, contentType: ContentType, status: HttpStatusCode? = null)
Content copied to clipboard
Functions
Link copied to clipboard
Gets an extension property for this content
Link copied to clipboard
Sets an extension property for this content
Properties
Link copied to clipboard
Specifies ContentType for this resource.