Enumeration Casevapor 4.114.1Vapor
values
Arrays are serialized as separate values. For example, foo = [1,2,3]
would be serialized as foo=1&foo=2&foo=3
.
case values
Arrays are serialized as separate values. For example, foo = [1,2,3]
would be serialized as foo=1&foo=2&foo=3
.
case values
s5Vapor21URLEncodedFormEncoderV13ConfigurationV13ArrayEncodingO6valuesyA2GmF
What are these?8RLM7
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
enum ArrayEncoding
Supported array encodings.
struct URLEncodedFormEncoder
Encodes Encodable
instances to application/x-www-form-urlencoded
data.
struct Configuration
Used to capture URLForm Coding Configuration used for encoding.
case bracket
Arrays are serialized as separate values with bracket suffixed keys. For example, foo = [1,2,3]
would be serialized as foo[]=1&foo[]=2&foo[]=3
.
case separator(Character)
Arrays are serialized as a single value with character-separated items. For example, foo = [1,2,3]
would be serialized as foo=1,2,3
.