• /
  • EnglishEspañolFrançais日本語한국어Português
  • EntrarComeçar agora

Esta tradução de máquina é fornecida para sua comodidade.

Caso haja alguma divergência entre a versão em inglês e a traduzida, a versão em inglês prevalece. Acesse esta página para mais informações.

Criar um problema

Monitoramento HTTP

Métodos de monitoramento HTTP

Método

Descrição

nrEnableHttpEvents

Habilitar evento HTTP_CONNECT/HTTP_COMPLETE.

nrDisableHttpEvents

Desabilite o evento HTTP_CONNECT/HTTP_COMPLETE.

nrSendHttpRequest

Envie um evento HTTP_REQUEST do tipo ConnectedDeviceSystem.

nrSendHttpResponse

Envie um evento HTTP_RESPONSE do tipo ConnectedDeviceSystem.

Exemplos

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 Inc.

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