RestingRequestConverter
public class RestingRequestConverter : RequestConverter
x
A RequestConverter that supports:
- Path templating using GRMustache.swift
- Streamed requests
-
Errors thrown by
See moreRestingRequestConverter.Declaration
Swift
public enum Error : Swift.Error -
The configuration settings for
See moreRestingRequestConverter.Declaration
Swift
public struct Configuration -
The configuration for the instance.
Declaration
Swift
public let configuration: Configuration -
Creates a new
RestingRequestConverter.Declaration
Swift
public init(configuration: Configuration = Configuration())Parameters
configurationThe configuration to use for the converter
-
Converts a
RestingRequestto anHTTPRequest.Declaration
Swift
public func toHTTPRequest<RequestType, ResponseType> (_ request: RestingRequest<RequestType, ResponseType>, baseUrl: String, forUpload: Bool ) throws -> HTTPRequest where RequestType: Encodable, ResponseType: Decodable
RestingRequestConverter Class Reference