awesome-ios-developer/Helper/Network Layer/Encoding/ParameterEncoding.swift

16 lines
291 B
Swift
Raw Normal View History

2021-05-03 13:33:13 +07:00
//
// ParameterEncoding.swift
// MapDemoApp
//
// Created by JungpyoHong on 4/25/21.
//
import Foundation
2021-05-20 11:13:33 +07:00
typealias Parameters = [String: Any]
2021-05-03 13:33:13 +07:00
2021-05-20 11:13:33 +07:00
protocol ParameterEncoder {
static func encode(urlRequest: inout URLRequest,
with parameters: Parameters) throws
2021-05-03 13:33:13 +07:00
}