UNPKG

pluto-http-client

Version:

HTTP client for NodeJS. Inspired in the Java JAX-RS spec so you can expect excellence, versatility and extensibility.

7 lines (6 loc) 211 B
/// <reference types="node" /> import { Buffer } from "buffer"; import { MediaType } from "../core/media-type"; export interface Unmarshal<T> { unmarshal(bytes: Buffer, mediaType?: MediaType): Promise<T>; }