lundi 12 août 2019

Design-pattern for implementing multiple HTTP-clients with different headers

What design-pattern can be used if I want to call a rest-service with multiple httpclients but each client has one header that differs? Everything else in the clients are the same. My main approach was the factory-pattern but somehow I feel it seems wrong.

Aucun commentaire:

Enregistrer un commentaire