Documentation

Std.Internal.Http.Data.Body.Any

Body.Any #

A type-erased body backed by closures. Implements Http.Body and can be constructed from any type that also implements Http.Body. Used as the default handler response body type.

A type-erased body handle. Operations are stored as closures, making it open to any body type that implements Http.Body.

Instances For
    def Std.Http.Body.Any.ofBody {α : Type} [Body α] (body : α) :

    Erases a body of any Http.Body instance into a Body.Any.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[implicit_reducible]
      Equations
      • One or more equations did not get rendered due to their size.