Skip to content

Add methods to add headers to GuzzleHTTP Client

Compare
Choose a tag to compare
@svennis94 svennis94 released this 13 Jul 08:27
· 16 commits to master since this release

@marcopetersamazing created a pull request for a method to add a header to the GuzzleHTTP Client. I've added a couple more functions and written a test to finish the pull request.

New

  • $transaction->addClientHeader('name', 'value');
  • $transaction->hasClientHeader('name');
  • $transaction->getClientHeader('name');