JdkRequest

class JdkRequest(request: HttpRequest, httpClient: HttpClient) : Request

JDK11 HTTP Client implementation of Request.

Constructors

Link copied to clipboard
fun JdkRequest(request: HttpRequest, httpClient: HttpClient)

Types

Link copied to clipboard
class BufferedSourceBodyHandler : HttpResponse.BodyHandler<BufferedSource>
Link copied to clipboard
object Companion
Link copied to clipboard
class RequestEventBodyHandler(originalRequest: JdkRequest, channel: SendChannel<Request.Event>) : HttpResponse.BodyHandler<Unit>

Functions

Link copied to clipboard
open suspend override fun body(): BufferedSource?
Link copied to clipboard
open suspend override fun execute(): Response
Link copied to clipboard
open override fun start(): Flow<Request.Event>

Properties

Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
open override val method: Method
Link copied to clipboard
open override val uri: URI