SDKs that use the envelope endpoint should support Category-based Ratelimiting.
This is the code in JS
getsentry/sentry-javascript#2962
It's all about reading the x-sentry-rate-limits response header and keeping an internal map in the transport from type -> duration to know what has been rate limited.