Skip to content

Commit

Permalink
1. add log interceptor
Browse files Browse the repository at this point in the history
2. add cookie_manager interceptor
3. refactor Options
  • Loading branch information
duwen committed Jan 31, 2019
1 parent 42bf088 commit 5966a95
Show file tree
Hide file tree
Showing 15 changed files with 999 additions and 807 deletions.
700 changes: 347 additions & 353 deletions .idea/workspace.xml

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@

#2.0

**Refactor the Interceptors**
- Support add Multiple Interceptors.
- Add Log Interceptor
- Add CookieManager Interceptor

**API**
- Support Uri
- Support `queryParameters` for all request API
- Modify the `get` API

**Options**
- Separate Options to three class: Options、BaseOptions、RequestOptions
- Add `queryParameters` and `cookies` for BaseOptions

**Adapter**
- Abstract HttpClientAdapter layer.
- Provide a DefaultHttpClientAdapter which make http requests by `dart:io:HttpClient`

## 0.1.8

- change file name "TransFormer" to "Transformer"
Expand Down
Loading

0 comments on commit 5966a95

Please sign in to comment.