ae v0.0.3186 (2022-07-03T09:06:15Z)
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
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
Send a file from the disk