Re:Show HN: WebRPC – a simple alternative to REST and SOAP
by iambvk on Wednesday October 21, 2015 @11:19AM
(#10426020)
Does it open a socket for every rpc?
[ Parent
| on HN ]
Re:Show HN: WebRPC – a simple alternative to REST and SOAP
by gk_brown on Wednesday October 21, 2015 @12:04PM
(#10426370)
Not sure. The client libraries don't work with sockets directly. The Java client uses HTTPURLConnection, the Objective-C/Swift client uses NSURLSession, and the JavaScript client uses XMLHttpRequest. You'd have to check the documentation for each of those to see what they might be doing under the hood, or what options you might have for configuring them. Same goes for the server, which just sits on top of a servlet container. You'd have to see the container docs to see what your options are.