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

7
LINES

< > BotCompany Repo | #1028646 // postPageWithTimeout - shortest POST version (takes url, parameters)

JavaX fragment (include)

1  
sS postPageWithTimeout(long timeout, S url, O... params) {
2  
  ret doPostWithTimeout(litmap(params), url, (int) timeout);
3  
}
4  
5  
sS postPageWithTimeout(double timeoutSeconds, S url, O... params) {
6  
  ret postPageWithTimeout(toMS(timeoutSeconds), url, params);
7  
}

Author comment

Began life as a copy of #1014688

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028646
Snippet name: postPageWithTimeout - shortest POST version (takes url, parameters)
Eternal ID of this version: #1028646/5
Text MD5: ba755eb0ddfa25a12d6016689907bb0f
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-01 12:05:41
Source code size: 260 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 213 / 251
Version history: 4 change(s)
Referenced in: [show references]