toggle menu
ktor
3.0.0-beta-2
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jvmAndNix
switch theme
search in API
ktor-server-core
/
io.ktor.server.http.content
/
HttpStatusCodeContent
Http
Status
Code
Content
jvmAndNix
class
HttpStatusCodeContent
(
value
:
HttpStatusCode
)
:
OutgoingContent.NoContent
Represents a simple status code response with no content
Parameters
value
status code to be sent
Members
Constructors
Http
Status
Code
Content
Link copied to clipboard
jvmAndNix
constructor
(
value
:
HttpStatusCode
)
Properties
content
Length
Link copied to clipboard
jvmAndNix
open
val
contentLength
:
Long
?
content
Type
Link copied to clipboard
jvmAndNix
open
val
contentType
:
ContentType
?
headers
Link copied to clipboard
jvmAndNix
open
val
headers
:
Headers
status
Link copied to clipboard
jvmAndNix
open
override
val
status
:
HttpStatusCode
Functions
get
Property
Link copied to clipboard
jvmAndNix
open
fun
<
T
:
Any
>
getProperty
(
key
:
AttributeKey
<
T
>
)
:
T
?
set
Property
Link copied to clipboard
jvmAndNix
open
fun
<
T
:
Any
>
setProperty
(
key
:
AttributeKey
<
T
>
,
value
:
T
?
)
to
String
Link copied to clipboard
jvmAndNix
open
override
fun
toString
(
)
:
String
trailers
Link copied to clipboard
jvmAndNix
open
fun
trailers
(
)
:
Headers
?