Skip to content

Commit bac9a45

Browse files
committed
more readme
1 parent 35bb9aa commit bac9a45

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,46 @@
11
# robospice-fluent-request
2+
==========================
3+
4+
A fluent api wrapper for RoboSpice requests.
5+
6+
7+
Download
8+
--------
9+
10+
Gradle:
11+
```groovy
12+
compile 'com.anotherdev.android.robospice:robospice-fluent-request:0.1.0'
13+
```
14+
15+
16+
Usage
17+
=====
18+
19+
```java
20+
RoboSpice.with(SpiceManager manager)
21+
.cache(@Nullable String key)
22+
.expiry(long durationInMillis)
23+
.acceptDirtyCache(boolean enable)
24+
.retry(RetryPolicy retryPolicy)
25+
.priority(int priority)
26+
.inform(RequestListener<T> listener)
27+
.execute(SpiceRequest<T> request);
28+
```
29+
30+
31+
License
32+
--------
33+
34+
Copyright 2015 anotherdev
35+
36+
Licensed under the Apache License, Version 2.0 (the "License");
37+
you may not use this file except in compliance with the License.
38+
You may obtain a copy of the License at
39+
40+
http://www.apache.org/licenses/LICENSE-2.0
41+
42+
Unless required by applicable law or agreed to in writing, software
43+
distributed under the License is distributed on an "AS IS" BASIS,
44+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
45+
See the License for the specific language governing permissions and
46+
limitations under the License.

0 commit comments

Comments
 (0)