@@ -18,7 +18,7 @@ import Foundation
1818public struct MultipartFormDataBodyParameters : BodyParameters {
1919 /// `EntityType` represents wheather the entity is expressed as `Data` or `InputStream`.
2020 public enum EntityType {
21- /// Expresses the entity as `Data`, which has faster upload speed and lager memory usage.
21+ /// Expresses the entity as `Data`, which has faster upload speed and larger memory usage.
2222 case data
2323
2424 /// Expresses the entity as `InputStream`, which has smaller memory usage and slower upload speed.
@@ -86,7 +86,7 @@ public extension MultipartFormDataBodyParameters {
8686 self . count = data. count
8787 }
8888
89- /// Returns Part instance that has input stream of specifed data.
89+ /// Returns Part instance that has input stream of specified data.
9090 /// If `mimeType` or `fileName` are `nil`, the fields will be omitted.
9191 public init ( data: Data , name: String , mimeType: String ? = nil , fileName: String ? = nil ) {
9292 self . inputStream = InputStream ( data: data)
@@ -96,7 +96,7 @@ public extension MultipartFormDataBodyParameters {
9696 self . count = data. count
9797 }
9898
99- /// Returns Part instance that has input stream of specifed file URL.
99+ /// Returns Part instance that has input stream of specified file URL.
100100 /// If `mimeType` or `fileName` are `nil`, values for the fields will be detected from URL.
101101 public init ( fileURL: URL , name: String , mimeType: String ? = nil , fileName: String ? = nil ) throws {
102102 guard let inputStream = InputStream ( url: fileURL) else {
0 commit comments