You are here

public function WSConnectorSimpleHTTP::getOptions in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/WSConnector/WSConnectorSimpleHTTP.php \Drupal\wsdata\Plugin\WSConnector\WSConnectorSimpleHTTP::getOptions()

Return available options supported by the connector.

Overrides WSConnectorBase::getOptions

2 methods override WSConnectorSimpleHTTP::getOptions()
WSConnectorGraphQL::getOptions in src/Plugin/WSConnector/WSConnectorGraphQL.php
Return available options supported by the connector.
WSConnectorSOAP::getOptions in src/Plugin/WSConnector/WSConnectorSOAP.php
Return available options supported by the connector.

File

src/Plugin/WSConnector/WSConnectorSimpleHTTP.php, line 60

Class

WSConnectorSimpleHTTP
HTTP Connector.

Namespace

Drupal\wsdata\Plugin\WSConnector

Code

public function getOptions() {
  return [
    'path' => '',
    'method' => [],
    'headers' => [],
  ];
}