HttpResponse

http.ql

Represents a single HTTP response.

Constructor Overview

Constructor Description
HttpResponse(statusCode, headers, body)

Creates a new HTTP response with the given status code, headers, and body.

Constructors

HttpResponse(statusCode, headers, body) link

Creates a new HTTP response with the given status code, headers, and body.