You are here

function LingotekOAuthRequest::setBody in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.4 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::setBody()
  2. 7.5 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::setBody()
  3. 7.6 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::setBody()

* Return the body of the OAuth request. * *

Return value

string null when no body

2 calls to LingotekOAuthRequest::setBody()
LingotekOAuthRequester::doRequest in lib/oauth-php/library/LingotekOAuthRequester.php
* Perform the request, returns the response code, headers and body. * *
LingotekOAuthRequestSigner::__construct in lib/oauth-php/library/LingotekOAuthRequestSigner.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/LingotekOAuthRequest.php, line 442

Class

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

Code

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