UNPKG

routup

Version:

Routup is a minimalistic http based routing framework.

4 lines (3 loc) 285 B
import type { NodeReadableStream, WebReadableStream } from '../../types'; import type { Response } from '../types'; export declare function sendStream(res: Response, stream: NodeReadableStream | WebReadableStream, next?: (err?: Error) => Promise<unknown> | unknown): Promise<unknown>;