csarrazi / CsaGuzzleBundle

A bundle integrating Guzzle >=4.0 in Symfony
250 stars 76 forks source link

How to register a client with no middleware? #265

Open andreicio opened 4 years ago

andreicio commented 4 years ago

From what I read in the docs and the code, the only way to create a client with none of the middleware enabled is to explicitly blacklist all of them. Leaving middleware as an empty array or not including it will register all avaialble middleware for that client. Am I missing anything?