BlackBerry Dynamics for Xamarin Forms  7.0.0.22
Runtime library for Xamarin Forms 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

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.
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.
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.