toggle menu
methanol-parent
1.8.0-SNAPSHOT
jvm
switch theme
search in API
methanol.kotlin
/
com.github.mizosoft.methanol.kotlin
/
MultipartBodySpec
Multipart
Body
Spec
@
Spec
interface
MultipartBodySpec
:
PairCreationDisablingSpec
A
spec
for configuring a
MultipartBody
.
Members
Functions
boundary
Link copied to clipboard
abstract
fun
boundary
(
boundary
:
String
)
media
Type
Link copied to clipboard
abstract
fun
mediaType
(
mediaType
:
MediaType
)
to
Link copied to clipboard
abstract
infix
fun
String
.
to
(
bodyPublisher
:
<Error class: unknown class>
)
abstract
infix
fun
String
.
to
(
file
:
Path
)
abstract
infix
fun
String
.
to
(
value
:
String
)
abstract
fun
String
.
to
(
bodyPublisher
:
<Error class: unknown class>
,
filename
:
String
)
abstract
fun
String
.
to
(
file
:
Path
,
mediaType
:
MediaType
)
abstract
fun
String
.
to
(
value
:
String
,
charset
:
Charset
)
abstract
fun
String
.
to
(
bodyPublisher
:
<Error class: unknown class>
,
filename
:
String
,
mediaType
:
MediaType
)
open
infix
fun
<
A
,
B
>
A
.
to
(
that
:
B
)
:
Pair
<
A
,
B
>
unary
Plus
Link copied to clipboard
abstract
operator
fun
MultipartBodyPart
.
unaryPlus
(
)