Skip to content

Commit

Permalink
[chore] split comment
Browse files Browse the repository at this point in the history
  • Loading branch information
matejmolnar committed Dec 18, 2023
1 parent 7ad5d75 commit 0b02efb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Sources/Networking/Core/RequestURLParametersType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ public enum RequestURLParametersType {
case dictionary([String: Any])
/// An array of already percent-encoded URL query items.
///
/// This can be useful in case the default percent-encoding doesn't suit your use-case. Be aware that it assumes the query item names and values are already correctly percent-encoded, and that the query item names do not contain the query item delimiter characters '&' and '='. Attempting to set an incorrectly percent-encoded query item or a query item name with the query item delimiter characters '&' and '=' will cause a `fatalError`.
/// This can be useful in case the default percent-encoding doesn't suit your use-case.
/// Be aware that it assumes the query item names and values are already correctly percent-encoded,
/// and that the query item names do not contain the query item delimiter characters '&' and '='.
/// Attempting to set an incorrectly percent-encoded query item or a query item name with the query item delimiter characters '&' and '=' will cause a `fatalError`.
case percentEncodedQueryItems([URLQueryItem])
}

0 comments on commit 0b02efb

Please sign in to comment.