src/modules/http/entities/response/http-response.entity.intf.ts
This interface represents an HttpResponse
Properties |
starkHttpHeaders |
starkHttpHeaders:
|
Type : Map<string | string>
|
A map containing the Http response headers sent back by the backend. |
starkHttpStatusCode |
starkHttpStatusCode:
|
Type : StarkHttpStatusCodes
|
The corresponding status code of the request matching one of the StarkHttpStatusCodes. |
import { StarkHttpStatusCodes } from "../../enumerators";
/**
* This interface represents an HttpResponse
*/
export interface StarkHttpResponse {
/**
* The corresponding status code of the request matching one of the {@link StarkHttpStatusCodes}.
*/
starkHttpStatusCode: StarkHttpStatusCodes;
/**
* A map containing the Http response headers sent back by the backend.
*/
starkHttpHeaders: Map<string, string>;
}