toggle menu
ktor
2.3.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
common
switch theme
search in API
ktor-http
/
io.ktor.http
/
ContentType
/
withParameter
with
Parameter
fun
withParameter
(
name
:
String
,
value
:
String
)
:
ContentType
Creates a copy of
this
type with the added parameter with the
name
and
value
.