---
title: nrSendHttpResponse
source: https://docs.newrelic.com/docs/streaming-video-&-ads/installation/roku/agent-api/http-monitoring/nrsendhttpresponse
---

## Syntax

```js
  nrSendHttpResponse(nr as Object, _url as String, msg as Object) as Void
```

## Description

Send an HTTP_RESPONSE event of type ConnectedDeviceSystem.

## Arguments

| Arguments | Description                   |
| --------- | ----------------------------- |
| `nr`      | New Relic Agent object.       |
| `_url`    | Request URL.                  |
| `msg`     | A message of type roUrlEvent. |

## Return

Nothing.

## Example

```js
  	msg = wait(5000, m.port)
	  if type(msg) = "roUrlEvent" then
		        nrSendHttpResponse(m.nr, _url, msg)
	  end if
```
