-api-id | -api-type |
---|---|
M:Windows.Web.Http.HttpStringContent.#ctor(System.String,Windows.Storage.Streams.UnicodeEncoding) |
winrt method |
Initializes a new instance of the HttpStringContent class with the specified content and encoding.
The content used to initialize the HttpStringContent.
The encoding to use for the content.
The media type in the Content-Type header for the HttpStringContent created defaults to text/plain.
HttpStringContent(String), HttpStringContent(String, UnicodeEncoding, String)