vibe-http ~master (2021-03-22T09:44:24Z)
Home
Dub
Repo
HTTPServerResponse.writeBody
vibe
http
server
HTTPServerResponse
Undocumented in source. Be warned that the author may not have intended to support it.
void
writeBody
(ubyte[] data, string contentType)
void
writeBody
(InputStream data, string content_type)
void
writeBody
(string data, string content_type)
struct
HTTPServerResponse
@
safe
void
writeBody
(
string
data
,
string
content_type
= null
)
void
writeBody
(string data, int status, string content_type)
Meta
Source
See Implementation
vibe
http
server
HTTPServerResponse
constructors
this
functions
connectProxy
finalize
opCast
redirect
sendBadRequest
setCookie
setStatusCode
startSession
switchProtocol
switchToHTTP2
terminateSession
waitForConnectionClose
writeBody
writeJsonBody
writePrettyJsonBody
writeRawBody
properties
bodyWriter
bodyWriterH2
bytesWritten
connected
contentType
cookies
data
headerWritten
headers
httpVersion
isHeadResponse
m_isHeadResponse
m_session
m_settings
statusCode
statusPhrase
timeFinalized
tls
toString
writeVoidBody