UNPKG

@samchon/openapi

Version:

OpenAPI definitions and converters for 'typia' and 'nestia'.

24 lines (23 loc) 521 B
/** * Represents an HTTP response. * * The `IHttpResponse` interface represents an HTTP response. * * It contains the {@link status} code, {@link headers}, and {@link body} of the response. * * @author Jeongho Nam - https://github.com/samchon */ export interface IHttpResponse { /** * Status code of the response. */ status: number; /** * Headers of the response. */ headers: Record<string, string | string[]>; /** * Body of the response. */ body: unknown; }