Libraryless. Click here for Pure Java version (2520L/16K).
static O subBot_serveFile(File file) { ret call(getMainBot(), 'serveFile, file); } static O subBot_serveFile(File file, S mimeType) { ret call(getMainBot(), 'serveFile, file, mimeType); }
Began life as a copy of #1011247
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014005 |
Snippet name: | subBot_serveFile |
Eternal ID of this version: | #1014005/3 |
Text MD5: | fffcd9c8e00a220f582f21d526e59237 |
Transpilation MD5: | f2060477235b8b03ea233fe25f69e131 |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-04 13:46:25 |
Source code size: | 198 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 417 / 513 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014663 - subBot_serveFileWithName #1020024 - subBot_serveHTMLFile #1028366 - subBot_serveFile_noCache #1032345 - subBot_serveFileRange [dev.] |