Skip to content

Enumeration

HTTPHeaders.Range.Value

Represents one value of the Range request header.
enum Value

Overview

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range

Topics

Enumeration Cases

Instance Methods

  • asResponseContentRange(limit:)
    Converts this HTTPHeaders.Range.Value to a HTTPHeaders.ContentRange.Value with the given limit.
  • serialize()
    Serializes HTTPHeaders.Range.Value to a string for use within the HTTP Range header.

Type Methods

  • from(requestStr:)
    Parses a string representing a requested range in one of the following formats:

Relationships

Conforms To

  • Swift.Equatable
  • Swift.Sendable
  • Swift.SendableMetatype