MultipartContent Class
MultipartContent class
Represents a multipart/* content.
public class MultipartContent : Content, IEnumerable<Content>
Constructors
Name | Description |
---|
MultipartContent() | Create a new instance of the MultipartContent class. |
MultipartContent(String) | Create a new instance of the MultipartContent class with subtype. |
MultipartContent(String, String) | Create a new instance of the MultipartContent class with subtype and boundary. |
Properties
Name | Description |
---|
getHeaders Gets the HTTP content headers. | |
Methods
Name | Description |
---|
add(Content) | Add a new content to the MultipartContent |
dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
getEnumerator() | Returns an enumerator that iterates through a collection. |
readAsByteArray() | Serialize the HTTP content and return a byte array that represents the content. |
readAsStream() | Serialize the HTTP content and return a stream that represents the content. |
readAsString() | Serialize the HTTP content and return a String that represents the content. |
See Also