Release 2.1.0 (#16)
Completed redesign (#9)
Complete rewrite
Migrate documentation to DocC
Doc organization
Update test.yml
Readme/doc landing page
Add CustomStringConvertible support for PathComponents.Builder
Move parseHTTPStatusErrors to Configuration
Update docs
Add configuration option to append trailing slash
Fix issue inheriting configuration
Remove URLSession on Service protocol
Re-organize docs; update docs for parseHTTPStatusErrors & appendTrailingSlashToPath
Update tests for new configuration options
Update documentation
Add missing Header init documentation; add build expression for optionals on Headers, PathParameters, QueryItems
13 - Add support for dictionaries to Body
14 - Improve documentation examples
14 - Improve documentation examples
14 - Improve documentation examples
15 - Build block method of RequestBuilder was not marked as public
Update documentation link to next version (2.1.0)
Declaratively build and send client requests for REST APIs in Swift.
Overview
Relax provides a way to declaratively define and organize client HTTP requests for REST APIs. The framework is lightweight built on protocols, easily allowing you to structure your requests for even the most complex REST APIs.
Full Reference Documentation
https://swiftpackageindex.com/tdeleon/Relax/2.1.0/documentation/relax
Features
async
/await
) and Combine (on Apple platforms).Supported Platforms
Available for all Swift (5.7+) platforms, including:
*Works on any version where Swift 5.7 is supported.
Getting Started
Relax supports the Swift Package Manager. To integrate in your project-
Add the following to the package dependencies in the Package.swift manifest file:
Add Relax to the target dependencies:
In files where you will be using Relax, import the framework:
Make a Simple Request
To get started using Relax, see the full documentation.