RequestBodySpec

A spec for configuring a Request's body assuming its method has been set.

Inheritors

Functions

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 formBody(block: FormBodySpec.() -> Unit)
Link copied to clipboard
abstract fun multipartBody(block: MultipartBodySpec.() -> Unit)