RequestEncoder
public class RequestEncoder
extension RequestEncoder: TopLevelEncoder
Undocumented
-
Undocumented
Declaration
Swift
public init(baseURL: URL)
-
Declaration
-
Undocumented
Declaration
Swift
public func encodeJson<Request>(request: Request) throws -> URLRequest where Request : JSONBodyProvider, Request : JSONFormatProvider, Request : Encodable
-
Undocumented
Declaration
Swift
public func encodeFormURLEncoded<Request>(request: Request) throws -> URLRequest where Request : FormURLEncodedBodyProvider, Request : FormURLEncodedFormatProvider, Request : Encodable
-
Undocumented
Declaration
Swift
public func encodePlain<Request>(request: Request) throws -> URLRequest where Request : PlainBodyProvider, Request : PlainFormatProvider, Request : Encodable
-
Undocumented
Declaration
Swift
public func encodeXML<Request>(request: Request) throws -> URLRequest where Request : XMLBodyProvider, Request : XMLFormatProvider, Request : Encodable