Merge pull request #280 from TouchInstinct/feature/recovery_files_and_remove_unnecessary
recovery files and remove unnecessary
This commit is contained in:
commit
252e00198f
|
|
@ -1,13 +0,0 @@
|
|||
open class HeadersParameterEncoding {
|
||||
public let sequenceSeparator: String
|
||||
|
||||
public init(sequenceSeparator: String = ";") {
|
||||
self.sequenceSeparator = sequenceSeparator
|
||||
}
|
||||
|
||||
open func encode(parameters: [KeyValueTuple<String, String>]) -> [String: String] {
|
||||
Dictionary(parameters) {
|
||||
$0 + sequenceSeparator + $1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
protocol ParameterEncoding {
|
||||
associatedtype Location: ParameterLocation
|
||||
associatedtype Result
|
||||
|
||||
func encode(parameters: [String: Parameter<Location>]) -> Result
|
||||
}
|
||||
Loading…
Reference in New Issue