Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1014005 // subBot_serveFile

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2520L/16K).

1  
static O subBot_serveFile(File file) {
2  
  ret call(getMainBot(), 'serveFile, file);
3  
}
4  
5  
static O subBot_serveFile(File file, S mimeType) {
6  
  ret call(getMainBot(), 'serveFile, file, mimeType);
7  
}

Author comment

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: 416 / 513
Version history: 2 change(s)
Referenced in: [show references]