Skip to content

Response

Pavel Koch edited this page Mar 2, 2019 · 3 revisions

Interface Response

import { Response } from 'awi'

The extendable interface for every response.



body: any

The response body. This is an 'any' type by default as the response can be anything but developers are encouraged to extend this interface and type their own responses.


status: Status

The response status.


headers: { [key: string]: string }

The response headers.


Clone this wiki locally