toggle menu
methanol-parent
1.8.0-SNAPSHOT
jvm
switch theme
search in API
methanol.kotlin
/
com.github.mizosoft.methanol.kotlin
/
RequestSpec
Request
Spec
@
Spec
interface
RequestSpec
:
BaseRequestSpec
,
RequestMethodSpec
A
spec
for configuring a
Request
.
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
)
DELETE
Link copied to clipboard
abstract
fun
DELETE
(
)
expect
Continue
Link copied to clipboard
abstract
fun
expectContinue
(
expectContinue
:
Boolean
)
GET
Link copied to clipboard
abstract
fun
GET
(
)
headers
Link copied to clipboard
abstract
fun
headers
(
block
:
HeadersSpec
.
(
)
->
Unit
)
hints
Link copied to clipboard
abstract
fun
hints
(
block
:
HintsSpec
.
(
)
->
Unit
)
method
Link copied to clipboard
abstract
fun
method
(
method
:
String
,
block
:
RequestBodySpec
.
(
)
->
Unit
)
PATCH
Link copied to clipboard
abstract
fun
PATCH
(
block
:
RequestBodySpec
.
(
)
->
Unit
)
POST
Link copied to clipboard
abstract
fun
POST
(
block
:
RequestBodySpec
.
(
)
->
Unit
)
PUT
Link copied to clipboard
abstract
fun
PUT
(
block
:
RequestBodySpec
.
(
)
->
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>
)