+ * Adds a subscriber to the HTTP client.
+ */
+ public function addSubscriber(SubscriberInterface $subscriber)
+ {
+ $this->subscribers[] = $subscriber;
+ }
+
+ /**
+ * Input an array of configuration to be able to create a HttpClient.
+ *
+ * @return HttpClient