TextResponse

data class TextResponse(    val client: ApiClient,     val request: HttpRequest,     val response: HttpResponse,     val content: String,     val action: ApiAction<TextResponse>) : ApiResponse<TextResponse> , CompletedResponse

The ApiResponse that provides text response only.

Constructors

Link copied to clipboard
fun TextResponse(    client: ApiClient,     request: HttpRequest,     response: HttpResponse,     content: String,     action: ApiAction<TextResponse>)

Properties

Link copied to clipboard
open override val action: ApiAction<TextResponse>

Executed ApiAction instance.

Link copied to clipboard
open override val client: ApiClient

Current ApiClient instance.

Link copied to clipboard
open override val content: String

Text response.

Link copied to clipboard
open override val request: HttpRequest

Http request object.

Link copied to clipboard
open override val response: HttpResponse

Http response object.