PlainTextResponse
public protocol PlainTextResponse : Decodable
A response type that is initialized directly from plain text instead of JSON.
-
The plain text.
Declaration
Swift
var text: String { get } -
Creates a response from the plain text returned by the server.
Declaration
Swift
static func from(text: String) -> SelfParameters
textThe plain text for the response.
View on GitHub