http.ql
Represents a single HTTP response.
| Constructor | Description |
|---|---|
| HttpResponse(statusCode, headers, body) | Creates a new HTTP response with the given status code, headers, and body. |
| Field | Description |
|---|---|
| int statusCode | The status code of the response |
| Map headers | The headers of the response |
| string body | The body of the response |
Creates a new HTTP response with the given status code, headers, and body.