StreamResponse

data class StreamResponse<L : StreamListener, H : StreamHandler<L>>(    val client: ApiClient,     val request: HttpRequest,     val response: HttpResponse,     val action: ApiAction<StreamResponse<L, H>>) : ApiResponse<StreamResponse<L, H>>

The ApiResponse that provides stream-able response.

Constructors

Link copied to clipboard
fun <L : StreamListener, H : StreamHandler<L>> StreamResponse(    client: ApiClient,     request: HttpRequest,     response: HttpResponse,     action: ApiAction<StreamResponse<L, H>>)

Properties

Link copied to clipboard
open override val action: ApiAction<StreamResponse<L, H>>

Executed ApiAction instance.

Link copied to clipboard
open override val client: ApiClient

Current ApiClient instance.

Link copied to clipboard
open override val request: HttpRequest

Http request object.

Link copied to clipboard
open override val response: HttpResponse

Http response object.