toggle menu
ktor
3.0.2
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
common
switch theme
search in API
ktor-server-core
/
io.ktor.server.http.content
/
HttpStatusCodeContent
Http
Status
Code
Content
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
constructor
(
value
:
HttpStatusCode
)
Properties
content
Length
Link copied to clipboard
open
val
contentLength
:
Long
?
content
Type
Link copied to clipboard
open
val
contentType
:
ContentType
?
headers
Link copied to clipboard
open
val
headers
:
Headers
status
Link copied to clipboard
open
override
val
status
:
HttpStatusCode
Functions
get
Property
Link copied to clipboard
open
fun
<
T
:
Any
>
getProperty
(
key
:
AttributeKey
<
T
>
)
:
T
?
set
Property
Link copied to clipboard
open
fun
<
T
:
Any
>
setProperty
(
key
:
AttributeKey
<
T
>
,
value
:
T
?
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
trailers
Link copied to clipboard
open
fun
trailers
(
)
:
Headers
?