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
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1020,16 +1020,16 @@ Note: in .NET 5 `HttpRequestMessage.Properties` has been marked `Obsolete` and R
1020
1020
Methods decorated with `Multipart` attribute will be submitted with multipart content type.
1021
1021
At this time, multipart methods support the following parameter types:
1022
1022
1023
-
- string (parameter name will be used as name and string value as value)
1023
+
-`string` (parameter name will be used as name and string value as value)
1024
1024
- byte array
1025
-
- Stream
1026
-
- FileInfo
1025
+
-`Stream`
1026
+
-`FileInfo`
1027
1027
1028
1028
Name of the field in the multipart data priority precedence:
1029
1029
1030
-
* multipartItem.Name if specified and not null (optional); dynamic, allows naming form data part at execution time.
1031
-
*[AliasAs] attribute (optional) that decorate the streamPart parameter in the method signature (see below); static, defined in code.
1032
-
* MultipartItem parameter name (default) as defined in the method signature; static, defined in code.
1030
+
*`multipartItem.Name` if specified and not null (optional); dynamic, allows naming form data part at execution time.
1031
+
*`[AliasAs]` attribute (optional) that decorate the streamPart parameter in the method signature (see below); static, defined in code.
1032
+
*`MultipartItem` parameter name (default) as defined in the method signature; static, defined in code.
1033
1033
1034
1034
A custom boundary can be specified with an optional string parameter to the `Multipart` attribute. If left empty, this defaults to `----MyGreatBoundary`.
1035
1035
@@ -1045,13 +1045,13 @@ public interface ISomeApi
1045
1045
}
1046
1046
```
1047
1047
1048
-
To pass a Stream to this method, construct a StreamPart object like so:
1048
+
To pass a `Stream` to this method, construct a StreamPart object like so:
0 commit comments