UNPKG

ketting

Version:

Opiniated HATEAOS / Rest client.

10 lines (9 loc) 373 B
import { BaseHeadState } from './base-state'; import Client from '../client'; /** * 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: (client: Client, uri: string, response: Response) => Promise<BaseHeadState>;