ae v0.0.3141 (2022-02-14T00:51:10Z)
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.