Required Instance Methodhummingbird 2.3.0Hummingbird

    loadFile(id:range:context:)

    Return a reponse body that will write a partial file body

    FileProvider.swift:47
    func loadFile(id: FileIdentifier, range: ClosedRange<Int>, context: some RequestContext) async throws -> ResponseBody

    Parameters

    id

    File identifier

    range

    Part of file to return

    context

    Request context

    Returns

    Response body

    Other requirements

    Type members

    Instance members