You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get the pubnub client to work on an esp32 board (this is a std environment but I've not figured out async yet so trying blocking APIs), where using reqwest is too much of a pain.
I thinkreqwest depends on openssl which I'm not sure how to get to work for my target platform.
The docs mention that you can provide your own transport implementation, but I get a 404 when I try to find it. I would like to use this trait and use the esp32 HTTP client to do the work of connecting to the pubnub API endpoints.
Is this trait gone? Wondering if there's a way to surface TLS library as a feature flag that lets you choose between say rust_tls/openssl etc.
Thanks! I'm not sure how I missed that. I was browsing the docs through crates and this is the broken link that I ran into - I can't seem to find it now.
Activity
parfeon commentedon Mar 23, 2025
@ritesh thank you for reaching out.
Quick response for docs: https://docs.rs/pubnub/0.6.0/pubnub/core/trait.Transport.html
Can you please share where broken link is in the code or docs?
ritesh commentedon Mar 24, 2025
Thanks! I'm not sure how I missed that. I was browsing the docs through crates and this is the broken link that I ran into - I can't seem to find it now.
https://docs.rs/pubnub/latest/core/trait.Transport.html