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

11
LINES

< > BotCompany Repo | #1001650 // serveHTML

JavaX fragment (include)

ifdef NoNanoHTTPD
static virtual NanoHTTPD.Response serveHTML(O text) {
  ret subBot_serveHTML(text);
}
endifdef

ifndef NoNanoHTTPD
static NanoHTTPD.Response serveHTML(O text) {
  ret NanoHTTPD.newFixedLengthResponse(str(text));
}
endifndef

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1001650
Snippet name: serveHTML
Eternal ID of this version: #1001650/2
Text MD5: 4dc368dc9d353b7746531bd461b7b489
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-14 13:53:36
Source code size: 251 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 737 / 1401
Version history: 1 change(s)
Referenced in: [show references]