This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
v0.4.4
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!