Documentation

Std.Internal.Http.Data.Body.Basic

Body.Basic #

This module defines the Body typeclass for HTTP body streams, and shared conversion types ToByteArray and FromByteArray used for encoding and decoding body content.

class Std.Http.Body (α : Type) :

Typeclass for values that can be read as HTTP body streams.

Instances

    Typeclass for types that can be converted to a ByteArray.

    Instances

      Typeclass for types that can be decoded from a ByteArray. The conversion may fail with an error message if the bytes are not valid for the target type.

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