Skip to content

Commit 6593469

Browse files
committed
Converting README to markdown
1 parent 8c2f880 commit 6593469

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.rdoc renamed to README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
= jruby-httpclient
1+
# jruby-httpclient
22

33
jruby-httpclient is a thin wrapper around Apache's HttpClient (version 4.1). I found that Net::HTTP was
44
not threadsafe in JRuby. This project is an attempt to make a threadsafe HTTP client for JRuby.
55

6-
== Usage
6+
[![Build Status](https://secure.travis-ci.org/aesterline/jruby-httpclient.png)](http://travis-ci.org/aesterline/jruby-httpclient)
77

8+
## Usage
9+
10+
```ruby
811
client = HTTP::Client.new(:host => "localhost", :port => 8080)
912
client.get("/src", :param => "value")
1013

1114
client.post("/create", :param => "value")
15+
```
1216

13-
== Contributing to jruby-httpclient
17+
## Contributing to jruby-httpclient
1418

1519
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
1620
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
@@ -20,7 +24,7 @@ not threadsafe in JRuby. This project is an attempt to make a threadsafe HTTP
2024
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
2125
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
2226

23-
== Copyright
27+
## Copyright
2428

2529
Copyright (c) 2011 Adam Esterline. See LICENSE.txt for
2630
further details.

0 commit comments

Comments
 (0)