Skip to content

Commit

Permalink
0.32.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Mar 10, 2024
1 parent fbccb25 commit 35de59f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
## Usage
The core of the library is the `NetworkClient` struct, serving both as a request builder and executor. It is a generic struct, enabling use for any task associated with `URLRequest`.

The branching and configuration injection/overriding capabilities of NetworkClient, extending to all its child instances, facilitate the effortless recycling of networking logic and tasks, thereby eliminating the need for copy-pasting.

While a full example is available in the [Example folder](/Example/), here is a simple usage example:
```swift
let client = NetworkClient(url: baseURL)
Expand Down Expand Up @@ -230,7 +232,7 @@ import PackageDescription
let package = Package(
name: "SomeProject",
dependencies: [
.package(url: "https://github.com/dankinsoid/swift-networking.git", from: "0.31.0")
.package(url: "https://github.com/dankinsoid/swift-networking.git", from: "0.32.0")
],
targets: [
.target(
Expand Down

0 comments on commit 35de59f

Please sign in to comment.