vibe-d v0.9.8-alpha.3 (2023-10-20T08:14:46Z)
Home
Dub
Repo
HTTPServerResponse.writePrettyJsonBody
index
vibe
http
server
HTTPServerResponse
Writes a JSON message with the specified status
class
HTTPServerResponse
scope
void
writePrettyJsonBody
(
T
)
(
T
data
,
bool
allow_chunked
= false
)
Meta
Source
See Implementation
index
vibe
http
server
HTTPServerResponse
constructors
this
functions
connectProxy
finalize
isHeadResponse
redirect
setCookie
startSession
switchProtocol
terminateSession
tls
waitForConnectionClose
writeBody
writeJsonBody
writePrettyJsonBody
writeRawBody
writeVoidBody
properties
bodyWriter
bytesWritten
connected
headerWritten
timeFinalized
Writes a JSON message with the specified status