1 | // function: func(S uri, SS params) -> O |
2 | // Note: function does not enter() automatically |
3 | static MyHTTPD dm_serveHttpFromFunction(int port, O function) {
|
4 | ret dm_ownResource(serveHttpFromFunction(port, function)); |
5 | } |
6 | |
7 | static MyHTTPD dm_serveHttpFromFunction(int port, IF2<S, SS, O> function) {
|
8 | ret dm_serveHttpFromFunction(port, (O) function); |
9 | } |
Began life as a copy of #1023279
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1023336 |
| Snippet name: | dm_serveHttpFromFunction - start web server in dynamic module |
| Eternal ID of this version: | #1023336/4 |
| Text MD5: | b272f5e6a352db9e59eeab8650185186 |
| Author: | stefan |
| Category: | javax / http |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-25 22:36:24 |
| Source code size: | 355 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 516 / 579 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |