HttpFormUrlEncodedContent HttpFormUrlEncodedContent HttpFormUrlEncodedContent HttpFormUrlEncodedContent HttpFormUrlEncodedContent Class

Definition

Provides HTTP content that uses name/value data encoded with the application/x-www-form-urlencoded MIME type.

public : sealed class HttpFormUrlEncodedContent : IClosable, IStringable, IHttpContent
struct winrt::Windows::Web::Http::HttpFormUrlEncodedContent : IClosable, IStringable, IHttpContent
public sealed class HttpFormUrlEncodedContent : IDisposable, IStringable, IHttpContent
Public NotInheritable Class HttpFormUrlEncodedContent Implements IDisposable, IStringable, IHttpContent
var httpFormUrlEncodedContent = new httpFormUrlEncodedContent(content);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

HttpFormUrlEncodedContent(IIterable<IKeyValuePair<String, String>>) HttpFormUrlEncodedContent(IIterable<IKeyValuePair<String, String>>) HttpFormUrlEncodedContent(IIterable<IKeyValuePair<String, String>>) HttpFormUrlEncodedContent(IIterable<IKeyValuePair<String, String>>) HttpFormUrlEncodedContent(IIterable<IKeyValuePair<String, String>>)

Initializes a new instance of the HttpFormUrlEncodedContent class with the specified content.

Properties

Headers Headers Headers Headers Headers

Get a collection of content headers set on the HttpFormUrlEncodedContent.

Methods

BufferAllAsync() BufferAllAsync() BufferAllAsync() BufferAllAsync() BufferAllAsync()

Serialize the HttpFormUrlEncodedContent into memory as an asynchronous operation.

Close() Close() Close() Close() Close()

Closes the HttpFormUrlEncodedContent instance and releases allocated resources.

Dispose() Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ReadAsBufferAsync() ReadAsBufferAsync() ReadAsBufferAsync() ReadAsBufferAsync() ReadAsBufferAsync()

Serialize the HttpFormUrlEncodedContent to a buffer as an asynchronous operation.

ReadAsInputStreamAsync() ReadAsInputStreamAsync() ReadAsInputStreamAsync() ReadAsInputStreamAsync() ReadAsInputStreamAsync()

Serialize the HttpFormUrlEncodedContent and return an input stream that represents the content as an asynchronous operation.

ReadAsStringAsync() ReadAsStringAsync() ReadAsStringAsync() ReadAsStringAsync() ReadAsStringAsync()

Serialize the HttpFormUrlEncodedContent to a String as an asynchronous operation.

ToString() ToString() ToString() ToString() ToString()

Returns a string that represents the current HttpFormUrlEncodedContent object.

TryComputeLength(UInt64) TryComputeLength(UInt64) TryComputeLength(UInt64) TryComputeLength(UInt64) TryComputeLength(UInt64)

Computes the HttpFormUrlEncodedContent length in bytes.

WriteToStreamAsync(IOutputStream) WriteToStreamAsync(IOutputStream) WriteToStreamAsync(IOutputStream) WriteToStreamAsync(IOutputStream) WriteToStreamAsync(IOutputStream)

Write the HttpFormUrlEncodedContent to an output stream as an asynchronous operation.

See Also