UNPKG

@serenity-js/core

Version:

The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure

10 lines 359 B
import { JSONData } from './JSONData.js'; /** * An artifact describing a HTTP request/response pair. */ export class HTTPRequestResponse extends JSONData { static fromJSON(value) { return new HTTPRequestResponse(Buffer.from(JSON.stringify(value, undefined, 0), 'utf8').toString('base64')); } } //# sourceMappingURL=HTTPRequestResponse.js.map