Skip to content

Add before send option#115

Closed
kjarmicki-cloudinary wants to merge 1 commit intomainfrom
add-api-before-send
Closed

Add before send option#115
kjarmicki-cloudinary wants to merge 1 commit intomainfrom
add-api-before-send

Conversation

@kjarmicki-cloudinary
Copy link
Contributor

Brief Summary of Changes

I'd like to be able to do adjustments to the request before it's sent to an API - things like adding custom headers etc. To achieve that I added an optional function BeforeSend that will be called right before a request is sent.

What does this PR address?

  • GitHub issue (Add reference - #XX)
  • Refactoring
  • New feature
  • Bug fix
  • Adds more tests

Are tests included?

  • Yes
  • No

Reviewer, please note:

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I ran the full test suite before pushing the changes and all the tests pass.

@kjarmicki-cloudinary
Copy link
Contributor Author

Will use custom Transport instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant