Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
loay-ashraf committed Jan 25, 2024
1 parent ab41447 commit 1c6c99a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ It makes use of RxSwift's traits at request level to acheive a high level of spe

```
// Create `Session` instance.
let session = Session(configuration: .default, eventMonitor: self)
let session = Session(configuration: .default)
// Create 'RESTClient' instance.
let restClient = RESTClient(session: session, requestInterceptor: self)
// Create `HTTPRequestRouter` instance.
Expand All @@ -57,7 +57,7 @@ single

```
// Create `Session` instance.
let session = Session(configuration: .default, eventMonitor: self)
let session = Session(configuration: .default)
// Create 'HTTPClient' instance.
let httpClient = HTTPClient(session: session, requestInterceptor: self)
// Create `HTTPDownloadRequestRouter` instance.
Expand Down Expand Up @@ -88,7 +88,7 @@ downloadObservable

```
// Create `Session` instance.
let session = Session(configuration: .default, eventMonitor: self)
let session = Session(configuration: .default)
// Create 'HTTPClient' instance.
let httpClient = HTTPClient(session: session, requestInterceptor: self)
// Create `HTTPUploadRequestRouter` instance.
Expand Down Expand Up @@ -133,7 +133,7 @@ Once you have your Swift package set up, adding RxNetworkKit as a dependency is

```swift
dependencies: [
.package(url: "https://github.com/loay-ashraf/RxNetworkKit.git", .upToNextMajor(from: "1.0.0"))
.package(url: "https://github.com/loay-ashraf/RxNetworkKit.git", .upToNextMajor(from: "2.0.0"))
]
```

Expand Down

0 comments on commit 1c6c99a

Please sign in to comment.