• /
  • EnglishEspañolFrançais日本語한국어Português
  • ログイン今すぐ開始

HTTP monitoring

HTTP monitoring methods

Method

Description

nrEnableHttpEvents

Enable HTTP_CONNECT/HTTP_COMPLETE events.

nrDisableHttpEvents

Disable HTTP_CONNECT/HTTP_COMPLETE events.

nrSendHttpRequest

Send an HTTP_REQUEST event of type ConnectedDeviceSystem.

nrSendHttpResponse

Send an HTTP_RESPONSE event of type ConnectedDeviceSystem.

Examples

nrEnableHttpEvents

nrEnableHttpEvents(nr)

nrDisableHttpEvents

nrDisableHttpEvents(nr)

nrSendHttpRequest

urlReq = CreateObject("roUrlTransfer")
urlReq.SetUrl(_url)
...
nrSendHttpRequest(m.nr, urlReq)

nrSendHttpResponse

msg = wait(5000, m.port)
if type(msg) = "roUrlEvent" then
nrSendHttpResponse(m.nr, _url, msg)
end if
Copyright © 2026 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.