ikai / jruby-rest-client Goto Github PK
View Code? Open in Web Editor NEWRestClient for JRuby
License: MIT License
RestClient for JRuby
License: MIT License
JRuby-RestClient is a wrapper for Java HttpClient. You would use this client if you need timeouts to work correctly for a JRuby application (as of 1.1.6, they do not). There are two packages that are needed to get this to work: 1. HttpClient (http://apache.mirrors.hoobly.com/httpcomponents/commons-httpclient/binary/commons-httpclient-3.1.tar.gz) 2. Codec (http://commons.apache.org/downloads/download_codec.cgi) These are included along with the Apache license in NOTICE.txt. Please let me know if these should be unbundled. JRestClient works like Adam Wiggin's REST client (or ... like a grotesque facsimile of it): RestClient.get "http://127.0.0.1:3000/resource", {:header => 123} RestClient.post "http://127.0.0.1:3000/resource", {:key => 'value'}, {:header => 123} The one thing this introduces over Adam Wiggin's plugin is a global timeout (it's relatively easy to get it working in the MRI version of the gem, unfortunately JRuby doesn't treat it right since it'll block on I/O).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.