UNPKG

ketting

Version:

Opiniated HATEAOS / Rest client.

9 lines (8 loc) 316 B
import { HeadState } from './interface'; /** * Turns the response to a HTTP Head request into a HeadState object. * * HeadState is a bit different from normal State objects, because it's * missing a bunch of information. */ export declare const factory: (uri: string, response: Response) => Promise<HeadState>;