Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

URLEncodedFormEncoder_DataEncoding

mattt edited this page Sep 18, 2020 · 2 revisions

URLEncodedFormEncoder.DataEncoding

Encoding to use for Data values.

public enum DataEncoding

Enumeration Cases

deferredToData

Defers encoding to the Data type.

case deferredToData

base64

Encodes Data as a Base64-encoded string. This is the default encoding.

case base64

custom

Encode the Data as a custom value encoded by the given closure.

case custom(:(Data) throws -> String)
Types
Protocols
Global Typealiases
Clone this wiki locally