Skip to content

Commit f734d47

Browse files
committed
Update README.md
1 parent 94d2573 commit f734d47

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

README.md

+15-14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Network layer for running requests like GET, POST, PUT, DELETE etc customizable
44

55
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Figor11191708%2Fasync-http-client%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/igor11191708/async-http-client)
66

7+
## [Documentation(API)](https://swiftpackageindex.com/igor11191708/async-http-client/main/documentation/async_http_client)
8+
or
9+
- You need to have Xcode 13 installed in order to have access to Documentation Compiler (DocC)
10+
- Go to Product > Build Documentation or **⌃⇧⌘ D**
11+
12+
## SwiftUI example
13+
[Async http client example](https://github.com/igor11191708/async-http-client-example)
14+
715
## Features
816
- [x] Multiplatform
917
- [x] You have fast-track functions to make requests immediately by url or build the infrastructure configuration that suits you
@@ -16,7 +24,7 @@ Network layer for running requests like GET, POST, PUT, DELETE etc customizable
1624
- [x] Based on interfaces not implementations
1725
- [x] Customizable with coders You can easily change format from json to xml or text just changing the coder
1826

19-
![Http requests](https://github.com/The-Igor/async-http-client-example/blob/main/async-http-client-example/img/image11.gif)
27+
![Http requests](https://github.com/igor11191708/async-http-client-example/blob/main/async-http-client-example/img/image11.gif)
2028

2129
## Fast track
2230

@@ -117,7 +125,7 @@ Fast-track functions return **(Data, URLResponse)** if you need to validate stat
117125

118126
## Retry strategy
119127

120-
This package uses stand alone package providing retry policy. The service creates sequence of the delays (nanoseconds) according to chosen strategy for more details folow the link [retry service](https://github.com/The-Igor/retry-policy-service)
128+
This package uses stand alone package providing retry policy. The service creates sequence of the delays (nanoseconds) according to chosen strategy for more details folow the link [retry service](https://github.com/igor11191708/retry-policy-service)
121129

122130
| type | description |
123131
| --- | --- |
@@ -147,34 +155,27 @@ Currently is implemented for validating status code.
147155
try await http.get(path: path, validate: [.status(.predicate(fn))])
148156
```
149157

150-
There's an example [replicate toolkit for swift](https://github.com/The-Igor/replicate-kit-swift) how to use it with a custom response error format that has different format then the successful response
158+
There's an example [replicate toolkit for swift](https://github.com/igor11191708/replicate-kit-swift) how to use it with a custom response error format that has different format then the successful response
151159

152160
# The concept
153161

154162
* Proxy is defining a communication layer and responsible for exchanging data with data source. There might be Http proxy, File proxy etc or some flavors REST proxy, LongFile proxy.
155163
* Reader and Writer are used to interpret data.
156164

157-
![The concept](https://github.com/The-Igor/async-http-client/blob/main/img/concept.png)
165+
![The concept](https://github.com/igor11191708/async-http-client/blob/main/img/concept.png)
158166

159167

160168
## Try it in the real environment
161169
### Simple server installation (mocking with NodeJS Express)
162170

163171
To try it in the real environment. I suggest installing the basic NodeJS Express boilerplate. Take a look on the video snippet how easy it is to get it through Webstorm that is accessible for free for a trial period.
164172

165-
[![Server installation (NodeJS Express)](https://github.com/The-Igor/d3-network-service/blob/main/img/server_install.png)](https://youtu.be/9FPOYHzcE7A)
173+
[![Server installation (NodeJS Express)](https://github.com/igor11191708/d3-network-service/blob/main/img/server_install.png)](https://youtu.be/9FPOYHzcE7A)
166174

167175
- Get [**WebStorm Early Access**](https://www.jetbrains.com/webstorm/nextversion)
168-
- Get [**index.js**](https://github.com/The-Igor/d3-network-service/blob/main/js/index.js) file from here and replace it with the one in the boilerplate and launch the server.
169-
170-
## Documentation(API)
171-
- You need to have Xcode 13 installed in order to have access to Documentation Compiler (DocC)
172-
- Go to Product > Build Documentation or **⌃⇧⌘ D**
173-
174-
## SwiftUI example for the package
176+
- Get [**index.js**](https://github.com/igor11191708/d3-network-service/blob/main/js/index.js) file from here and replace it with the one in the boilerplate and launch the server.
175177

176-
[Async http client example](https://github.com/The-Igor/async-http-client-example)
177178

178179
## Used by packages
179180

180-
[Replicate toolkit for swift](https://github.com/The-Igor/replicate-kit-swift)
181+
[Replicate toolkit for swift](https://github.com/igor11191708/replicate-kit-swift)

0 commit comments

Comments
 (0)