Closed
Description
I would like to configure different clients with authentication.
httplug:
clients:
guzzle5:
factory: 'httplug.factory.guzzle5'
plugins: ['httplug.plugin.logger']
trans_logger:
factory: 'httplug.factory.guzzle5'
authentication:
type: 'basic'
username: 'foo'
password: 'bar'
microservice2:
factory: 'httplug.factory.guzzle5'
plugins: ['httplug.plugin.logger', 'my_cache_plugin']
authentication:
type: 'wsse'
username: 'baz'
password: 'biz'
What do you think? Is this something we should support? Do you like the config example?
Metadata
Metadata
Assignees
Labels
No labels