You are here

public function LingotekHttpInterface::get in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 8 src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  2. 8.2 src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  3. 3.0.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  4. 3.1.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  5. 3.2.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  6. 3.3.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  7. 3.4.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  8. 3.5.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  9. 3.6.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  10. 3.7.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()
  11. 3.8.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::get()

Send a GET request.

Parameters

string|\Psr\Http\Message\UriInterface $path: URI object or string.

array $args: Request argument to add via query string.

Return value

\Psr\Http\Message\ResponseInterface A response.

1 method overrides LingotekHttpInterface::get()
LingotekHttp::get in src/Remote/LingotekHttp.php
Send a GET request.

File

src/Remote/LingotekHttpInterface.php, line 23

Class

LingotekHttpInterface
Lingotek HTTP interface.

Namespace

Drupal\lingotek\Remote

Code

public function get($path, $args = []);