ae ~master (2024-01-05T13:09:51Z)
Home
Dub
Repo
HttpResponseEx.serveData
ae
net
http
responseex
HttpResponseEx
Utility function to serve HTML.
HttpResponseEx
serveData
(string data, string contentType)
class
HttpResponseEx
HttpResponseEx
serveData
(
string
data
,
string
contentType
= "text/html; charset=utf-8"
)
HttpResponseEx
serveData
(DataVec data, string contentType)
HttpResponseEx
serveData
(Data data, string contentType)
Meta
Source
See Implementation
ae
net
http
responseex
HttpResponseEx
functions
authorize
cacheForever
copyTo
disableCache
dup
redirect
serveData
serveFile
serveJson
serveText
setRefresh
writeError
writePage
writePageContents
static functions
getStatusExplanation
loadTemplate
parseTemplate
static variables
contentTemplate
errorTemplate
pageTemplate
variables
errorTokens
jsonCallback
pageTokens
Utility function to serve HTML.