ae v0.0.2177 (2018-04-10T20:33:51Z)
Home
Dub
Repo
HttpResponseEx.serveFile
ae
net
http
responseex
HttpResponseEx
Send a file from the disk
class
HttpResponseEx
HttpResponseEx
serveFile
(
string
path
,
string
fsBase
,
bool
enableIndex
= false
,
string
urlBase
= "/"
)
Meta
Source
See Implementation
ae
net
http
responseex
HttpResponseEx
functions
cacheForever
disableCache
dup
redirect
serveData
serveFile
serveJson
serveText
setRefresh
writeError
writePage
writePageContents
static functions
checkPath
getStatusExplanation
loadTemplate
parseTemplate
static variables
contentTemplate
errorTemplate
pageTemplate
variables
jsonCallback
Send a file from the disk