Hi Devon,

there's no need for customized rendering in this case. 
Marshalling/rendering for multipart entities is already available.

This example 
<https://gist.github.com/jrudolph/08d0d28e1eddcd64dbd0#file-testmultipartfileupload-scala-L78-L93>
 
should get you started. Just replace Source.single(...) with a Source that 
wraps a sequence of your custom body parts (e.g. by mapping your requests).

HTH
André

On Monday, November 30, 2015 at 4:17:36 AM UTC+1, Devon Miller wrote:
>
> In order to satisfy some odata v4 "batch" protocol requirements, I need to 
> render several requests into the payload of a specially formed request 
> (details here 
> <http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398359>
> ).
>
> I noticed that the rendering infrastructure for requests is in a private 
> part of akka-http: akka.http.impl.engine.rendering.
>
> Is there a way to use the rendering infrastructure to obtain string 
> versions of the rendered HttpRequests so I can put them into the payload of 
> another request?
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to