PlainTextResponse

public protocol PlainTextResponse : Decodable

A response with plain text.

  • The plain text.

    Declaration

    Swift

    var text: String { get }
  • Create a new instance with the plain text.

    Declaration

    Swift

    static func from(text: String) -> Self

    Parameters

    text

    The plain text for the response.