sO serveFile(File file) { ret call(getMainBot(), 'serveFile, file); } sO serveFile(File file, S mimeType) { ret call(getMainBot(), 'serveFile, file, mimeType); } sO serve404() { ret subBot_serve404(); } sO serve404(S msg) { ret subBot_serve404(msg); } //sO serveRedirect(S url) { ret call(getMainBot(), 'serveRedirect, url); }
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, ekrmjmnbrukm, elmgxqgtpvxh, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028763 |
| Snippet name: | helper include for HttpFromFileSystem in eleu bots |
| Eternal ID of this version: | #1028763/3 |
| Text MD5: | b9287f15c1589806da7a7f8f90654928 |
| Author: | stefan |
| Category: | javax / http |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-17 19:22:16 |
| Source code size: | 330 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 398 / 1238 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |