Skip to content

Commit dc9d7d4

Browse files
authored
Remove redundant parameter descriptions in ResponseSerialization.swift (Alamofire#3630)
Update ResponseSerialization.swift Remove redundant parameter descriptions in ResponseSerialization.swift
1 parent 9c2bab4 commit dc9d7d4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Source/ResponseSerialization.swift

-8
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,6 @@ extension DataRequest {
817817
/// - queue: The queue on which the completion handler is dispatched. `.main` by default.
818818
/// - dataPreprocessor: `DataPreprocessor` which processes the received `Data` before calling the
819819
/// `completionHandler`. `PassthroughPreprocessor()` by default.
820-
/// - encoding: The string encoding. Defaults to `nil`, in which case the encoding will be determined
821-
/// from the server response, falling back to the default HTTP character set, `ISO-8859-1`.
822820
/// - emptyResponseCodes: HTTP status codes for which empty responses are always valid. `[204, 205]` by default.
823821
/// - emptyRequestMethods: `HTTPMethod`s for which empty responses are always valid. `[.head]` by default.
824822
/// - options: `JSONSerialization.ReadingOptions` used when parsing the response. `.allowFragments`
@@ -850,8 +848,6 @@ extension DownloadRequest {
850848
/// - queue: The queue on which the completion handler is dispatched. `.main` by default.
851849
/// - dataPreprocessor: `DataPreprocessor` which processes the received `Data` before calling the
852850
/// `completionHandler`. `PassthroughPreprocessor()` by default.
853-
/// - encoding: The string encoding. Defaults to `nil`, in which case the encoding will be determined
854-
/// from the server response, falling back to the default HTTP character set, `ISO-8859-1`.
855851
/// - emptyResponseCodes: HTTP status codes for which empty responses are always valid. `[204, 205]` by default.
856852
/// - emptyRequestMethods: `HTTPMethod`s for which empty responses are always valid. `[.head]` by default.
857853
/// - options: `JSONSerialization.ReadingOptions` used when parsing the response. `.allowFragments`
@@ -1009,8 +1005,6 @@ extension DataRequest {
10091005
/// - dataPreprocessor: `DataPreprocessor` which processes the received `Data` before calling the
10101006
/// `completionHandler`. `PassthroughPreprocessor()` by default.
10111007
/// - decoder: `DataDecoder` to use to decode the response. `JSONDecoder()` by default.
1012-
/// - encoding: The string encoding. Defaults to `nil`, in which case the encoding will be determined
1013-
/// from the server response, falling back to the default HTTP character set, `ISO-8859-1`.
10141008
/// - emptyResponseCodes: HTTP status codes for which empty responses are always valid. `[204, 205]` by default.
10151009
/// - emptyRequestMethods: `HTTPMethod`s for which empty responses are always valid. `[.head]` by default.
10161010
/// - completionHandler: A closure to be executed once the request has finished.
@@ -1042,8 +1036,6 @@ extension DownloadRequest {
10421036
/// - dataPreprocessor: `DataPreprocessor` which processes the received `Data` before calling the
10431037
/// `completionHandler`. `PassthroughPreprocessor()` by default.
10441038
/// - decoder: `DataDecoder` to use to decode the response. `JSONDecoder()` by default.
1045-
/// - encoding: The string encoding. Defaults to `nil`, in which case the encoding will be determined
1046-
/// from the server response, falling back to the default HTTP character set, `ISO-8859-1`.
10471039
/// - emptyResponseCodes: HTTP status codes for which empty responses are always valid. `[204, 205]` by default.
10481040
/// - emptyRequestMethods: `HTTPMethod`s for which empty responses are always valid. `[.head]` by default.
10491041
/// - completionHandler: A closure to be executed once the request has finished.

0 commit comments

Comments
 (0)