You are here

function OAuthRequest::setBody in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.3 lib/oauth-php/library/OAuthRequest.php \OAuthRequest::setBody()

* Return the body of the OAuth request. * *

Return value

string null when no body

2 calls to OAuthRequest::setBody()
OAuthRequester::doRequest in lib/oauth-php/library/OAuthRequester.php
* Perform the request, returns the response code, headers and body. * *
OAuthRequestSigner::__construct in lib/oauth-php/library/OAuthRequestSigner.php
* Construct the request to be signed. Parses or appends the parameters in the params url. * When you supply an params array, then the params should not be urlencoded. * When you supply a string, then it is assumed it is of the type…

File

lib/oauth-php/library/OAuthRequest.php, line 498

Class

OAuthRequest
Object to parse an incoming OAuth request or prepare an outgoing OAuth request

Code

function setBody($body) {
  $this->body = $body;
}