File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Bifrost is available via Swift Package Manager.
88
99``` swift
1010dependencies: [
11- .package (url : " https://github.com/mtzaquia/bifrost.git" , .upToNextMajor (from : " 0 .0.9 " )),
11+ .package (url : " https://github.com/mtzaquia/bifrost.git" , .upToNextMajor (from : " 1 .0.0 " )),
1212],
1313```
1414
@@ -47,7 +47,7 @@ struct MyAPI: API {
4747### Requests
4848
4949For each request, create a type with its supported parameters. Make sure this type conforms to ` Requestable ` .
50- You can also provide default header fields for a specific request, if needed, and choose the HTTP method for that given request.
50+ You can also provide default header fields for a specific request if needed, and you can choose the HTTP method for that request.
5151
5252``` swift
5353struct MyRequest {
@@ -70,11 +70,11 @@ extension MyRequest: Requestable {
7070```
7171
7272> ** Note**
73- > If you expect an empty response, you can use the built-in ` EmptyResponse ` type.
73+ > If you expect an empty response, the built-in ` EmptyResponse ` type is avaiable for convenience .
7474
7575### Making the call
7676
77- Finally, you are ready to submit a request! Concurrency allows you to easily inline your call:
77+ Finally, you are ready to submit a request! Concurrency allows you to inline your call easily :
7878
7979``` swift
8080// ...
You can’t perform that action at this time.
0 commit comments