Skip to content

Wrapping hyper::body::Incoming using a custom body with custom data #3581

Answered by dswij
OldMansKid asked this question in Q&A
Discussion options

You must be logged in to vote

Are you expecting only to handle data frames? Perhaps you can get the data and then map it: https://docs.rs/hyper/latest/hyper/body/struct.Frame.html#method.into_data

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@OldMansKid
Comment options

@dswij
Comment options

@OldMansKid
Comment options

@sfackler
Comment options

@OldMansKid
Comment options

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