mcc on Nostr: Anybody reading this ever used rust Reqwest? Is the Client object heavyweight? That ...
Anybody reading this ever used rust Reqwest? Is the Client object heavyweight? That is if I intend to do between 2 and 300 https requests, is there a reason to reuse a single client?
Published at
2025-05-21 02:57:26 UTCEvent JSON
{
"id": "765af9d46a0c9627efdaa19bce4d881299f5fecf9880a9f6fc5a37c6553a1128",
"pubkey": "a3162b9720f6b515ac4bd22d5ea4abf0f85f5685130dca40f46fe684fe85b255",
"created_at": 1747796246,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/mcc/statuses/114543574842930297",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "Anybody reading this ever used rust Reqwest? Is the Client object heavyweight? That is if I intend to do between 2 and 300 https requests, is there a reason to reuse a single client?",
"sig": "3aeb6984a7bca04394c9fc3d3b720e20b48ee6795ad5368e87dea3719fdbec98d8f0e41fb68f28ed51fb8eae412ffce4ad83a42c13a9cefef496b469c7af5035"
}