akka/akka-http

Document consuming multipart entities

オープン

#807 opened on 2017/01/23

 (8 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (598 件のフォーク)batch import
3 - in progresshackathonhelp wantedt:docs

Repository metrics

Stars
 (1,311 個のスター)
PR merge metrics
 (平均マージ 1d 10h) (30d で 2 merged PRs)

説明

Not only for the server-side (i.e. for consuming file-uploads) but also for the client-side where servers may return multipart/byteranges or other multipart datastructures.

Information it should contain:

  • how to use Unmarshal(response / entity).to[Multipart.General]
  • other subclasses of Multipart
  • explain stream-of-streams nature of Multipart.parts and Multipart.BodyPart.entity.dataBytes
  • note about head-of-line blocking: the data of a part needs to be read fully before a new part will be dispatched. Just filtering parts can deadlock a stream.

コントリビューターガイド