HttpRequest

class HttpRequest<T>(val payload: HttpService.Payload, val deserializer: HttpResponseDeserializer<T>, val service: HttpService) : Request<T>

Constructors

Link copied to clipboard
constructor(payload: HttpService.Payload, deserializer: HttpResponseDeserializer<T>, service: HttpService)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun send(): T

Send a request synchronously

Link copied to clipboard
open override fun sendAsync(): CompletableFuture<T>

Send a request asynchronously