Clients

Extending Apiservices module with a service collector for apiclients and httpclients (an apiclient uses an httpclient)

  • existing apiclient libraries can be injected as a service

    • TODO: list

  • swappable http clients (planned) see httplug

    • rest

    • jsonrpc

    • buzz

    • curl

using this module allows getting at services tagged apiservices.client using

$apiclients = \Drupal::service('apiservices.client');

Last updated