A better Rust ATProto crate

Blob retrieval #10

closed
opened by videah.net

I could be wrong but I don't think there's currently any way to retrieve blob file data from a PDS? Would be nice to have!

Let me know if the generated getBlob doesn't work for you.

In general in jacquard the idea is that you can just call .send() with the generated API request parameter struct and be totally okay. There are a few exceptions, which are on the AgentSessionExt trait, but that is the magic and the goal, that you generally don't need special wrappers because of how the main client traits and types interact with the generated api bindings.

While working on this issue I did notice an issue in getBlob's output struct and decoding. I've now adjusted the code generation and response parsing to be more correct for binary response.

Going to close this as i've since tested post bugfix and it now works. There's an example in the examples directory.

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:inze6wrmsm7pjl7yta3oig77/sh.tangled.repo.issue/3m3bsvoyvde22