UNPKG

@gatling.io/http

Version:

Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).

16 lines (15 loc) 551 B
import { Wrapper } from "@gatling.io/core"; import { HttpHeaders } from "../headers"; import { ResponseBody } from "./body"; import { HttpResponseStatus } from "./status"; import JvmResponse = io.gatling.http.response.Response; export * from "./body"; export * from "./status"; export interface Response extends Wrapper<JvmResponse> { body(): ResponseBody; headers(): HttpHeaders; isHttp2(): boolean; isRedirect(): boolean; status(): HttpResponseStatus; } export declare const wrapResponse: (_underlying: JvmResponse) => Response;