Skip to content

Commit d6cf49f

Browse files
committed
Update README.md
1 parent 32b7429 commit d6cf49f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ Fast-track functions return **(Data, URLResponse)** if you need to validate stat
5353
let http = Http.Proxy(baseURL: url)
5454
```
5555

56+
### with custom configuration
57+
```swift
58+
let cfg = Http.Configuration(
59+
reader: SomeJsonReader(),
60+
writer: SomeJsonWriter(),
61+
baseURL: baseURL,
62+
session: session)
63+
let http = Http.Proxy(config: cfg)
64+
```
65+
66+
5667
## 2. Use
5768

5869
### GET

0 commit comments

Comments
 (0)