Home
last modified time | relevance | path

Searched refs:requestBody (Results 1 – 15 of 15) sorted by relevance

/plugin/evesso/phpoauthlib/src/OAuth/Common/Http/Client/
H A DStreamClient.php18 * @param mixed $requestBody
29 $requestBody, argument
38 if ($method === 'GET' && !empty($requestBody)) {
42 if (!isset($extraHeaders['Content-Type']) && $method === 'POST' && is_array($requestBody)) {
55 if (is_array($requestBody)) {
56 $requestBody = http_build_query($requestBody, '', '&');
58 $extraHeaders['Content-length'] = 'Content-length: '.strlen($requestBody);
60 $context = $this->generateStreamContext($requestBody, $extraHeaders, $method);
H A DCurlClient.php55 * @param mixed $requestBody
66 $requestBody, argument
75 if ($method === 'GET' && !empty($requestBody)) {
79 if (!isset($extraHeaders['Content-Type']) && $method === 'POST' && is_array($requestBody)) {
91 if ($requestBody && is_array($requestBody)) {
92 $requestBody = http_build_query($requestBody, '', '&');
101 curl_setopt($ch, CURLOPT_POSTFIELDS, $requestBody);
H A DClientInterface.php18 * @param mixed $requestBody
28 $requestBody, argument
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/
H A DStreamClient.php18 * @param mixed $requestBody
29 $requestBody, argument
38 if ($method === 'GET' && !empty($requestBody)) {
42 if (!isset($extraHeaders['Content-Type']) && $method === 'POST' && is_array($requestBody)) {
55 if (is_array($requestBody)) {
56 $requestBody = http_build_query($requestBody, '', '&');
58 $extraHeaders['Content-length'] = 'Content-length: '.strlen($requestBody);
60 $context = $this->generateStreamContext($requestBody, $extraHeaders, $method);
H A DCurlClient.php55 * @param mixed $requestBody
66 $requestBody, argument
75 if ($method === 'GET' && !empty($requestBody)) {
79 if (!isset($extraHeaders['Content-Type']) && $method === 'POST' && is_array($requestBody)) {
91 if ($requestBody && is_array($requestBody)) {
92 $requestBody = http_build_query($requestBody, '', '&');
101 curl_setopt($ch, CURLOPT_POSTFIELDS, $requestBody);
H A DClientInterface.php18 * @param mixed $requestBody
28 $requestBody, argument
/plugin/evesso/classes/
H A DoAuthHTTPClient.php21 * @param mixed $requestBody
31 $requestBody, argument
38 $ok = $http->sendRequest($endpoint->getAbsoluteUri(), $requestBody, $method);
/plugin/html2pdf/html2pdf/html2ps/classes/org/active-link/net/
H A DHTTPClient.php72 $this->requestBody = $this->defaultRequestBody;
99 $contentLength = strlen($this->requestBody);
113 $this->requestBody = $body;
164 $request .= $this->requestBody;
/plugin/authfacebook/lib/
H A DFacebookClient.php170 $requestBody = $request->getMultipartBody();
172 'Content-Type' => 'multipart/form-data; boundary=' . $requestBody->getBoundary(),
175 $requestBody = $request->getUrlEncodedBody();
185 $requestBody->getBody(),
/plugin/botbouncer/lib/
H A Dmollom.php365 $requestBody = '<?xml version="1.0"?>' ."\n";
366 $requestBody .= '<methodCall>' ."\n";
367 $requestBody .= ' <methodName>mollom.'. $method .'</methodName>' ."\n";
368 $requestBody .= ' <params>' ."\n";
369 $requestBody .= ' <param>'."\n";
370 $requestBody .= ' '. self::buildValue($parameters) ."\n";
371 $requestBody .= ' </param>'."\n";
372 $requestBody .= ' </params>' ."\n";
373 $requestBody .= '</methodCall>' ."\n";
394 @curl_setopt($curl, CURLOPT_POSTFIELDS, $requestBody);
/plugin/oauth/
H A DHTTPClient.php19 $requestBody, argument
27 $ok = $http->sendRequest($endpoint->getAbsoluteUri(), $requestBody, $method);
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/
H A DSharingPlugin.php244 $requestBody = $request->getBodyAsString();
253 $request->setBody($requestBody);
255 $message = $this->server->xml->parse($requestBody, $request->getUrl(), $documentType);
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/
H A DSharingPlugin.php255 $requestBody = $request->getBodyAsString();
264 $request->setBody($requestBody);
266 $message = $this->server->xml->parse($requestBody, $request->getUrl(), $documentType);
/plugin/webdav/vendor/sabre/dav/lib/DAV/
H A DCorePlugin.php319 $requestBody = $request->getBodyAsString();
320 if (strlen($requestBody)) {
322 $propFindXml = $this->server->xml->expect('{DAV:}propfind', $requestBody);
554 $requestBody = $request->getBodyAsString();
557 if ($requestBody) {
568 $mkcol = $this->server->xml->expect('{DAV:}mkcol', $requestBody);
/plugin/davcal/vendor/sabre/dav/lib/DAV/
H A DCorePlugin.php319 $requestBody = $request->getBodyAsString();
320 if (strlen($requestBody)) {
322 $propFindXml = $this->server->xml->expect('{DAV:}propfind', $requestBody);
554 $requestBody = $request->getBodyAsString();
557 if ($requestBody) {
568 $mkcol = $this->server->xml->expect('{DAV:}mkcol', $requestBody);