Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Add custom transports #6

Closed
wants to merge 20 commits into from
Closed

Add custom transports #6

wants to merge 20 commits into from

Conversation

Jake-Shadle
Copy link
Contributor

Adds a custom-transport feature which enables the new transport module and Options::set_transport to specify your own HTTP transport for data from the Native SDK to be sent to your Sentry service.

I added a minimal example on the Options::set_transport method to show how you can just use a closure as I didn't want to pull in an actual HTTP client crate, but I can flesh out the example to be more real if you want me too. I'm using reqwest in the project where I was testing that this custom transport feature works correctly, for example.

Resolves: #3

@Jake-Shadle
Copy link
Contributor Author

Sigh nope, still no option.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose custom transports
1 participant