multipart_form/field

Types

pub type FormBody {
  String(String)
  File(name: String, content_type: String, content: BitArray)
}

Constructors

  • String(String)
  • File(name: String, content_type: String, content: BitArray)

Functions

pub fn to_bit_array(
  field_name field: String,
  field_body element: FormBody,
  boundary boundary: String,
) -> BitArray
Search Document