ae ~master (2024-01-05T13:09: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
authorize
cacheForever
copyTo
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