Clients

Extending Apiservices module with a service collectorarrow-up-right 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 httplugarrow-up-right

    • rest

    • jsonrpc

    • buzz

    • curl

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

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

Last updated