BlackBerry Dynamics for .NET Maui
12.0.0.9
Runtime library for .NET Maui applications
|
Provides a base interface for an HTTP entity body. More...
Inherited by BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpByteArrayContent, BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpStreamContent, and BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpStringContent.
Public Member Functions | |
Task< string > | ReadAsStringAsync () |
Serialize the HTTP content to a string as an asynchronous operation. More... | |
Task< byte[]> | ReadAsByteArrayAsync () |
Serialize the HTTP content to a byte array as an asynchronous operation. More... | |
Task< Stream > | ReadAsStreamAsync () |
Serialize the HTTP content and return a stream that represents the content as an asynchronous operation. More... | |
Properties | |
string | ContentType [get] |
Gets the value of the Content-Type. More... | |
Provides a base interface for an HTTP entity body.
Task<byte[]> BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpContent.ReadAsByteArrayAsync | ( | ) |
Serialize the HTTP content to a byte array as an asynchronous operation.
Task<Stream> BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpContent.ReadAsStreamAsync | ( | ) |
Serialize the HTTP content and return a stream that represents the content as an asynchronous operation.
Task<string> BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpContent.ReadAsStringAsync | ( | ) |
Serialize the HTTP content to a string as an asynchronous operation.
Content-Encoding header is not validated. It's the caller's responsibility to call ReadAsStringAsync() only on decoded content.
|
get |
Gets the value of the Content-Type.