UNPKG

@gatling.io/http

Version:

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

12 lines (11 loc) 422 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.wrapRequest = void 0; const headers_1 = require("../headers"); const body_1 = require("./body"); const wrapRequest = (_underlying) => ({ _underlying, headers: () => (0, headers_1.wrapHttpHeaders)(_underlying.getHeaders()), body: () => (0, body_1.wrapRequestBody)(_underlying.getBody()) }); exports.wrapRequest = wrapRequest;