Skip to content

Commit 17170e4

Browse files
Create README.md
1 parent 4d0ac16 commit 17170e4

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# rxjava-apache-http
2+
3+
Observable API for Apache [HttpAsyncClient](http://hc.apache.org/httpcomponents-asyncclient-dev/)
4+
5+
It is aware of Content-Type `text/event-stream` and will stream each event via `Observer.onNext`.
6+
7+
Other Content-Types will be returned as a single call to `Observer.onNext`.
8+
9+
Main Classes:
10+
11+
- (ObservableHttp)[https://github.com/Netflix/RxJava/blob/master/rxjava-contrib/rxjava-apache-http/src/main/java/rx/apache/http/ObservableHttp.java]
12+
- (ObservableHttpResponse)[https://github.com/Netflix/RxJava/blob/master/rxjava-contrib/rxjava-apache-http/src/main/java/rx/apache/http/ObservableHttpResponse.java]
13+
14+
15+
# Binaries
16+
17+
Binaries and dependency information for Maven, Ivy, Gradle and others can be found at [http://search.maven.org](http://search.maven.org/#search%7Cga%7C1%7Ccom.netflix.rxjava).
18+
19+
Example for [Maven](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22rxjava-apache-http%22):
20+
21+
```xml
22+
<dependency>
23+
<groupId>com.netflix.rxjava</groupId>
24+
<artifactId>rxjava-apache-http</artifactId>
25+
<version>x.y.z</version>
26+
</dependency>
27+
```
28+
29+
and for Ivy:
30+
31+
```xml
32+
<dependency org="com.netflix.rxjava" name="rxjava-apache-http" rev="x.y.z" />
33+
```
34+
35+
# Sample usage

0 commit comments

Comments
 (0)