You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**{FormDataLike}** form - FormData object to encode. This object must be a spec-compatible FormData implementation.
308
-
-**{string}**[boundary] - An optional boundary string that will be used by the encoder. If there's no boundary string is present, Encoder will generate it automatically.
309
-
-**{object}**[options] - Encoder options.
308
+
-**{string}**[boundary] - An optional boundary string that will be used by the encoder. If there's no boundary string is present, FormDataEncoder will generate it automatically.
309
+
-**{object}**[options] - FormDataEncoder options.
310
310
-**{boolean}**[options.enableAdditionalHeaders = false] - When enabled, the encoder will emit additional per part headers, such as `Content-Length`. Please note that the web clients do not include these, so when enabled this option might cause an error if `multipart/form-data` does not consider additional headers.
311
311
312
-
Creates a multipart/form-data encoder.
312
+
Creates a `multipart/form-data` encoder.
313
313
314
314
#### Instance properties
315
315
@@ -349,13 +349,13 @@ An alias for `Encoder#values()` method.
0 commit comments