Skip to main content
Module

std/http/_io.ts>readTrailers

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function readTrailers
import { readTrailers } from "https://deno.land/std@v0.56.0/http/_io.ts";

Read trailer headers from reader and append values to headers. "trailer" field will be deleted.

Parameters

headers: Headers
r: BufReader

Returns

Promise<void>