File

src/modules/http/entities/response/http-response.entity.intf.ts

Description

This interface represents an HttpResponse

Index

Properties

Properties

starkHttpHeaders
starkHttpHeaders: Map<string | string>
Type : Map<string | string>

A map containing the Http response headers sent back by the backend.

starkHttpStatusCode
starkHttpStatusCode: StarkHttpStatusCodes
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>;
}

results matching ""

    No results matching ""