toggle menu
methanol-parent
1.8.2-SNAPSHOT
jvm
switch theme
kotlin
com.
github.
mizosoft.
methanol.
samples.
kotlin
Caching
Client
Coroutines
Example
Get
Post
Json
Markdown
Repository
Get
Post
String
Interceptors
Logging
Interceptor
main()
Multipart
And
Form
Uploads
Image
Imgur
Response
methanol.
adapter.
moshi
com.
github.
mizosoft.
methanol.
adapter.
moshi
Javadoc
Placeholder
Moshi
Adapter
Companion
methanol.
kotlin
com.
github.
mizosoft.
methanol.
kotlin
Adapter
Codec()
Adapter
Codec
Spec
Base
Request
Spec
body()
Body
Handler
Body
Handlers
Body
Publisher
Body
Publishers
Body
Subscriber
Body
Subscribers
Cache
Cache()
Cache
Chain
Cache
Chain()
Cache
Chain
Spec
Cache
Control()
Cache
Control
Spec
Cache
Listener
Cache
Spec
Client
Client()
Client
Spec
close()
closeable()
delete()
Factory
Spec
fetch()
Form
Body
Form
Body()
Form
Body
Spec
get()
get
With()
handler
Of()
Headers
Headers()
Headers
Spec
Hints
Spec
Http
Version
Interceptor
Chain
Interceptors
Spec
is
Client
Error()
is
Informational()
is
Redirection()
is
Server
Error()
is
Successful()
Javadoc
Placeholder
Kotlin
Adapter
Companion
Multipart
Body
Multipart
Body()
Multipart
Body
Part
Multipart
Body
Part()
Multipart
Body
Spec
Pair
Creation
Disabling
Spec
patch()
post()
Push
Promise
Handler
put()
Redirect
Request
Request()
Request
Body
Spec
Request
Method
Spec
Request
Spec
Request
With
Known
Method
Spec
Response
Response
Info
Spec
String
Name
Multi
String
Value
Spec
subscriber
Of()
tag()
Tags
Spec
to()
to
Cache
Control()
to
Http
String()
to
Media
Type()
to
Taggable
Request()
Type
Ref()
with
Media
Type()
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>
)