ae v0.0.3106 (2021-11-28T15:35:14Z)
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