Skip to content

How can i write multithread apps with awc #3266

Answered by robjtede
Necoo33 asked this question in Q&A
Discussion options

You must be logged in to vote

Depends what data. You can't share the client itself with an Arc, nor Request/Response types. but a response body would be Send-able.

If you want complete share-ability then I'd point you toward a thread-safe client like reqwest.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Necoo33
Comment options

@robjtede
Comment options

Answer selected by Necoo33
@Necoo33
Comment options

@robjtede
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants