module StaticAssets::RangeParser

Overview

RFC 9110 single byte-range and If-Range parser.

Defined in:

static_assets/range.cr

Class Method Summary

Class Method Detail

def self.parse(header : String | Nil, total_size : Int64, etag : String | Nil = nil, last_modified : Time | Nil = nil, if_range : String | Nil = nil) : RangeResult #

[View source]