MultipartParser

A low-level multipart-parsing pipe. Most end users will prefer EntityDecoder[Multipart].

Source:
MultipartParser.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def parseStreamed[F[_] : Concurrent](boundary: Boundary, limit: Int): (F, Byte) => Multipart[F]
F.pure[Tuple2[Option[Part[F]],Option[Part[F]]]](Tuple2.apply[Some[Part[F]],None.type](Some.apply[Part[F]]({ valbody$1:Stream[[x>:Nothing<:Any]=>F[x],Byte]=acc0.body.++[[x>:Nothing<:Any]=>F[x],Byte](Stream.chunk[[x>:Nothing<:Any]=>Pure[x],Byte](chunk)) valheaders$1:Headers=acc0.copy$default$1[F] acc0.copy[F](headers$1,body=body$1) }),None)) caseTuple2(Some(_),PartEnd)=> F.pure[Tuple2[Option[Part[F]],Option[Part[F]]]](Tuple2.apply[None.type,Option[Part[F]]](None,acc)) caseTuple2(Some(_),_:PartStart)=> F.raiseError[Tuple2[Option[Part[F]],Option[Part[F]]]](bug("MissingPartEnd")) })))(functorFilterInstance[F]).mapFilter[Part[F]](((_$9:Tuple2[Option[Part[F]],Option[Part[F]]])=>_$9._2)))" class="documentableAnchor">