RequestWithKnownMethodSpec

A spec for configuring a Request whose method has been set

Functions

Link copied to clipboard
abstract fun adapterCodec(adapterCodec: AdapterCodec)
abstract fun adapterCodec(block: AdapterCodecSpec.() -> Unit)
Link copied to clipboard
abstract fun body(bodyPublisher: <Error class: unknown class>)
abstract fun body(payload: Any, mediaType: MediaType)
Link copied to clipboard
inline fun <T> RequestBodySpec.body(payload: T, mediaType: MediaType)
Link copied to clipboard
abstract fun cacheControl(cacheControl: CacheControl)
abstract fun cacheControl(block: CacheControlSpec.() -> Unit)
Link copied to clipboard
abstract fun expectContinue(expectContinue: Boolean)
Link copied to clipboard
abstract fun formBody(block: FormBodySpec.() -> Unit)
Link copied to clipboard
abstract fun headers(block: HeadersSpec.() -> Unit)
Link copied to clipboard
abstract fun hints(block: HintsSpec.() -> Unit)
Link copied to clipboard
abstract fun multipartBody(block: MultipartBodySpec.() -> Unit)
Link copied to clipboard
abstract fun tags(block: TagsSpec.() -> Unit)
Link copied to clipboard
abstract fun timeout(timeout: Duration)
Link copied to clipboard
abstract fun uri(uri: URI)
abstract fun uri(uri: String)
Link copied to clipboard
abstract fun version(version: <Error class: unknown class>)