Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

v0.4.4

Compare
Choose a tag to compare
@dduan dduan released this 22 Nov 22:40
· 146 commits to master since this release

Added option to customize credential persistence through JustSessionDefaults (default value is .ForSession):

let defaults = JustSessionDefaults(credentialPersistence: .None)
let just = JustOf<HTTP>(defaults: defaults)
just.post("http://httpbin.org/post", auth: ("B3rry": "A113n")) // credential will not persist at all.

Read the customization section in quick start guide to learn more!