-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I am writing a P3 handler using spin_sdk::http_wasip3::Request (not the IncomingRequest type used in the P3 double-echo example).
When I use the .body() method, I get a... thing... (&IncomingBody<Request>) which does not seem to let me access the body, but does let me access, say, the headers:
How do I get a body out of an IncomingBody<Request>? My specific interest is in processing the streaming body so I'm ultimately looking for a Stream or AsyncRead or something like that.
Metadata
Metadata
Assignees
Labels
No labels