Skip to content

1.2.4

Choose a tag to compare

@s4cha s4cha released this 14 Nov 00:40
· 3 commits to master since this release

Adds POST, PUT, PATCH Encodable body.

Example:

let data: Data = try await network.post("/users", body: Credentials(username: "john", password: "doe"))

where Credentials conforms to the Encodable protocol.