1 | sO serveFile(File file) { ret call(getMainBot(), 'serveFile, file); } |
2 | sO serveFile(File file, S mimeType) { ret call(getMainBot(), 'serveFile, file, mimeType); } |
3 | sO serve404() { ret subBot_serve404(); } |
4 | sO serve404(S msg) { ret subBot_serve404(msg); } |
5 | //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: | 191 / 1014 |
Version history: | 2 change(s) |
Referenced in: | [show references] |