You are here

abstract protected function AcsfMessage::sendMessage in Acquia Cloud Site Factory Connector 8

Same name and namespace in other branches
  1. 8.2 src/AcsfMessage.php \Drupal\acsf\AcsfMessage::sendMessage()

Sends a message to a remote server and implements a response object.

Parameters

string $url: The URL of the remote service.

string $method: The request method. e.g. POST, GET, PUT, etc.

string $endpoint: The endpoint to call on the remote service.

array $parameters: Parameters to send with the request.

string $username: The remote username.

string $password: The remote password.

Return value

AcsfMessageResponse The message response instance.

1 call to AcsfMessage::sendMessage()
AcsfMessage::send in src/AcsfMessage.php
Sends the message to the remote server.
6 methods override AcsfMessage::sendMessage()
AcsfMessageRest::sendMessage in src/AcsfMessageRest.php
Implements AcsfMessage::sendMessage().
AcsfMessageUnitTestFailure::sendMessage in tests/AcsfMessageUnitTestFailure.inc
Implements AcsfMessage::sendMessage().
AcsfMessageUnitTestFailureException::sendMessage in tests/AcsfMessageUnitTestFailureException.inc
Implements AcsfMessage::sendMessage().
AcsfMessageUnitTestMissingEndpoint::sendMessage in tests/AcsfMessageUnitTestMissingEndpoint.inc
Implements AcsfMessage::sendMessage().
AcsfMessageUnitTestMissingResponse::sendMessage in tests/AcsfMessageUnitTestMissingResponse.inc
Implements AcsfMessage::sendMessage().

... See full list

File

src/AcsfMessage.php, line 201

Class

AcsfMessage
AcsfMessage.

Namespace

Drupal\acsf

Code

protected abstract function sendMessage($url, $method, $endpoint, array $parameters, $username, $password);