Http.fs
Http.fs copied to clipboard
Send body from stream
If I serialize object or object graph to JSON it would be nice to exclude intermediary step of string object or byte array creation by giving a TextReader instance which will serialize object on the fly into a complete request data.
Hmm, yes sure, you can set streams in body forms https://github.com/haf/Http.fs/blob/master/HttpFs/HttpFs.fs#L309 — the write-straight-to-stream requirement is otherwise not implemented right now.