ktor
2.2.4
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
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
Constructors
Functions
Properties
Parameters
Parameters
jvmAndNix
value
status code to be sent
Constructors
Http
Status
Code
Content
Link copied to clipboard
jvmAndNix
fun
HttpStatusCodeContent
(
value
:
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
?
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