Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 979 Bytes

httpstringcontent_httpstringcontent_1071791402.md

File metadata and controls

28 lines (20 loc) · 979 Bytes
-api-id -api-type
M:Windows.Web.Http.HttpStringContent.#ctor(System.String,Windows.Storage.Streams.UnicodeEncoding)
winrt method

Windows.Web.Http.HttpStringContent.HttpStringContent

-description

Initializes a new instance of the HttpStringContent class with the specified content and encoding.

-parameters

-param content

The content used to initialize the HttpStringContent.

-param encoding

The encoding to use for the content.

-remarks

The media type in the Content-Type header for the HttpStringContent created defaults to text/plain.

-examples

-see-also

HttpStringContent(String), HttpStringContent(String, UnicodeEncoding, String)