ae v0.0.3186 (2022-07-03T09:06:15Z)
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
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.