encodeHeader(_:key:)
Write value to header
This declaration is gated by at least one @_spi attribute.
func encodeHeader(_ value: some Any, key: String)
Write value to header
This declaration is gated by at least one @_spi attribute.
func encodeHeader(_ value: some Any, key: String)
s8SotoCore24RequestEncodingContainerC12encodeHeader_3keyyx_SStlF
What are these?5MXI2
import SotoCore
class RequestEncodingContainer
Request container used during Codable encode(to:)
that allows for encoding data into the request that is not part of standard Codable output
@frozen struct String
A Unicode string value that is a collection of characters.
func encodeHeader(_ value: Date?, key: String)
Write date to headers
func encodeHeader(_ value: Date, key: String)
Write date to headers
func encodeHeader<Coder>(_ value: CustomCoding<Coder>, key: String) where Coder : CustomEncoder
Write value inside CustomCoding property wrapper to header
func encodeHeader<Coder>(_ value: OptionalCustomCoding<Coder>, key: String) where Coder : CustomEncoder
Write value inside OptionalCustomCoding property wrapper to header
func encodeHeader(_ value: [String : some Any]?, key prefix: String)
Write optional dictionary key value pairs to headers with prefix added to the keys
func encodeHeader(_ value: [String : some Any], key prefix: String)
Write dictionary key value pairs to headers with prefix added to the keys
func encodeHeader(_ value: (some Any)?, key: String)
Write optional value to header
func encodeHostPrefix(_ value: some Any, key: String)
Write value into hostname
func encodePath(_ value: some Any, key: String)
Write value into URI path
func encodeQuery(_ value: [String : some Any]?)
Write optional dictionary key value pairs as query key value pairs
func encodeQuery(_ value: [String : some Any])
Write dictionary key value pairs as query key value pairs
func encodeQuery(_ value: Date?, key: String)
Write optional date to query
func encodeQuery(_ value: Date, key: String)
Write date to query
func encodeQuery<Coder>(_ value: CustomCoding<Coder>, key: String) where Coder : CustomEncoder
Write value inside CustomCoding property wrapper to query
func encodeQuery<Coder>(_ value: OptionalCustomCoding<Coder>, key: String) where Coder : CustomEncoder
Write value inside OptionalCustomCoding property wrapper to query
func encodeQuery(_ value: [some Any]?, key: String)
Write optional array as a series of query values
func encodeQuery(_ value: [some Any], key: String)
Write array as a series of query values
func encodeQuery(_ value: (some Any)?, key: String)
Write optional value to query
func encodeQuery(_ value: some Any, key: String)
Write value to query