longhuanlin/multipart-stream/mixed does not have a README file
pub(all) suberror MixedError {
InvalidLimits(reason~ : String)
DepthExceeded(limit~ : Int, observed~ : Int)
ContainerTooLarge(limit~ : Int64, observed~ : Int64)
InvalidContainer(reason~ : String)
UnexpectedEvent(reason~ : String)
Protocol(error~ : MultipartError)
} derive(Eq, Debug)pub struct ActiveMixed {
part_index : Int
parser : MultipartParser
child : MixedStream
observed_bytes : Int64
}pub(all) struct MixedEvent {
depth : Int
parent_part_index : Int?
event : MultipartEvent
} derive(Eq, Debug)pub struct MixedStream {
limits : MixedLimits
depth : Int
parent_part_index : Int?
emit_message_end : Bool
active : ActivePart?
completed : Bool
}fn MixedStream::feed(self : MixedStream, events : Array[MultipartEvent]) -> Array[MixedEvent] raise MixedErrorfn expand_mixed(content_type : String, body : Bytes, inherited_name : String, limits? : MixedLimits) -> Array[MixedPart] raise MixedErrorInstall
Download zipStreaming multipart/form-data parser and writer for MoonBit.