Cheetah
Public Member Functions | Protected Member Functions | List of all members
Facebook\Http\RequestBodyMultipart Class Reference
Inheritance diagram for Facebook\Http\RequestBodyMultipart:
Facebook\Http\RequestBodyInterface

Public Member Functions

 __construct (array $params=[], array $files=[], $boundary=null)
 
 getBody ()
 
 getBoundary ()
 

Protected Member Functions

 getFileHeaders (FacebookFile $file)
 

Detailed Description

Definition at line 37 of file RequestBodyMultipart.php.

Constructor & Destructor Documentation

◆ __construct()

Facebook\Http\RequestBodyMultipart::__construct ( array  $params = [],
array  $files = [],
  $boundary = null 
)
Parameters
array$paramsThe parameters to send with this request.
array$filesThe files to send with this request.
string$boundaryProvide a specific boundary.

Definition at line 59 of file RequestBodyMultipart.php.

Member Function Documentation

◆ getBody()

Facebook\Http\RequestBodyMultipart::getBody ( )

Get the body of the request to send to Graph.

Returns
string

Implements Facebook\Http\RequestBodyInterface.

Definition at line 69 of file RequestBodyMultipart.php.

◆ getBoundary()

Facebook\Http\RequestBodyMultipart::getBoundary ( )

Get the boundary

Returns
string

Definition at line 95 of file RequestBodyMultipart.php.

◆ getFileHeaders()

Facebook\Http\RequestBodyMultipart::getFileHeaders ( FacebookFile  $file)
protected

Get the headers needed before transferring the content of a POST file.

Parameters
FacebookFile$file
Returns
string

Definition at line 166 of file RequestBodyMultipart.php.


The documentation for this class was generated from the following file: