ae v0.0.3106 (2021-11-28T15:35:14Z)
Home
Dub
Repo
HttpResponseEx.serveData
ae
net
http
responseex
HttpResponseEx
Utility function to serve arbitrary data.
HttpResponseEx
serveData
(string data, string contentType)
HttpResponseEx
serveData
(DataVec data, string contentType)
HttpResponseEx
serveData
(Data data, string contentType)
class
HttpResponseEx
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 arbitrary data.