toggle menu
methanol-parent
1.8.0-SNAPSHOT
jvm
switch theme
search in API
methanol.kotlin
/
com.github.mizosoft.methanol.kotlin
/
BaseRequestSpec
Base
Request
Spec
@
Spec
interface
BaseRequestSpec
A
spec
for configuring a
Request
, excluding the request method and body.
Inheritors
RequestSpec
RequestWithKnownMethodSpec
Members
Functions
adapter
Codec
Link copied to clipboard
abstract
fun
adapterCodec
(
adapterCodec
:
AdapterCodec
)
abstract
fun
adapterCodec
(
block
:
AdapterCodecSpec
.
(
)
->
Unit
)
cache
Control
Link copied to clipboard
abstract
fun
cacheControl
(
cacheControl
:
CacheControl
)
abstract
fun
cacheControl
(
block
:
CacheControlSpec
.
(
)
->
Unit
)
expect
Continue
Link copied to clipboard
abstract
fun
expectContinue
(
expectContinue
:
Boolean
)
headers
Link copied to clipboard
abstract
fun
headers
(
block
:
HeadersSpec
.
(
)
->
Unit
)
hints
Link copied to clipboard
abstract
fun
hints
(
block
:
HintsSpec
.
(
)
->
Unit
)
tags
Link copied to clipboard
abstract
fun
tags
(
block
:
TagsSpec
.
(
)
->
Unit
)
timeout
Link copied to clipboard
abstract
fun
timeout
(
timeout
:
Duration
)
uri
Link copied to clipboard
abstract
fun
uri
(
uri
:
URI
)
abstract
fun
uri
(
uri
:
String
)
version
Link copied to clipboard
abstract
fun
version
(
version
:
<Error class: unknown class>
)