ae v0.0.2824 (2020-10-12T01:09:09Z)
Home
Dub
Repo
HttpResponseEx.serveData
ae
net
http
responseex
HttpResponseEx
Undocumented in source. Be warned that the author may not have intended to support it.
HttpResponseEx
serveData
(string data, string contentType)
class
HttpResponseEx
HttpResponseEx
serveData
(
string
data
,
string
contentType
= "text/html; charset=utf-8"
)
HttpResponseEx
serveData
(Data[] 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
checkPath
detectMime
getStatusExplanation
loadTemplate
parseTemplate
static variables
contentTemplate
errorTemplate
pageTemplate
variables
errorTokens
jsonCallback
pageTokens