Documentation

Std.Internal.Http.Data.Body.Length

Body.Length #

This module defines the Length type, that represents the Content-Length or Transfer-Encoding of an HTTP request or response.

Size of the body of a response or request.

  • chunked : Length

    Indicates that the HTTP message body uses chunked transfer encoding.

  • fixed (n : Nat) : Length

    Indicates that the HTTP message body has a fixed, known length, as specified by the Content-Length header.

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

      Checks if the Length is chunked.

      Equations
      Instances For
        @[inline]

        Checks if the Length is a fixed size.

        Equations
        Instances For