BlackBerry Dynamics for .NET Maui  12.0.0.9
Runtime library for .NET Maui applications
BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpContentFactory Interface Reference

Interface containing methods for creating HTTP content. More...

Public Member Functions

IBBDHttpContent CreateBBDHttpStreamContent (Stream stream, string contentType)
 Creates the HTTP stream content. More...
 
IBBDHttpContent CreateBBDHttpByteArrayContent (byte[] bytes, string contentType)
 Creates the HTTP byte array content. More...
 
IBBDHttpContent CreateBBDHttpStringContent (string content, string contentType)
 Creates the HTTP string content. More...
 

Detailed Description

Interface containing methods for creating HTTP content.

Member Function Documentation

◆ CreateBBDHttpByteArrayContent()

IBBDHttpContent BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpContentFactory.CreateBBDHttpByteArrayContent ( byte[]  bytes,
string  contentType 
)

Creates the HTTP byte array content.

Returns
The HTTP content object.
Parameters
bytesByte array.
contentTypeContent type.

◆ CreateBBDHttpStreamContent()

IBBDHttpContent BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpContentFactory.CreateBBDHttpStreamContent ( Stream  stream,
string  contentType 
)

Creates the HTTP stream content.

Returns
The http content object.
Parameters
streamStream.
contentTypeContent type.

◆ CreateBBDHttpStringContent()

IBBDHttpContent BBDXamarinForms.Common.Interfaces.Networking.Http.Content.IBBDHttpContentFactory.CreateBBDHttpStringContent ( string  content,
string  contentType 
)

Creates the HTTP string content.

Returns
The HTTP content object.
Parameters
contentString.
contentTypeContent type.