Table of Contents

HTTP Layer (http)

This layer provides RFC7540: Hypertext Transfer Protocol Version 2 (HTTP/2) functionality. It can be placed on top of TCP or TLS layers.

HTTP Layer Configuration Parameters

Parameter Type Description
Alias String
Base Path String HTTP path
DNS Instance String
Debug Log Level Number Debug Level
Dependencies String Other dependencies to this element
Destination Peer Number
Event Filter String Filter of Event
Exact Match Boolean
Max Event Queue Size Number Maximum Queue Size
Name String Component Name
No Events Boolean
Passthrough Boolean High-to-Low Layer Passthrough
Persistent Connection Boolean HTTP Connection is Persistent
Raw Data To Inject String Data Packet to Inject
Raw Dst L2 To Inject String Destination L2 Address
Raw Dst L3 To Inject String Destination L3 Address
Raw Dst L4 To Inject String Destination L4 Address
Request Timeout Number
Save Dynamic Config Boolean
Show Commands Boolean Show Commands
Show Events Boolean Show Events
TXT DNS Number
Watch Boolean Watch Layer

HTTP Layer Real-Time Parameters

Parameter Type Description
Allow Blocking Event Boolean Blocking Events
Base Path String HTTP path
Blocked Boolean Disable Component
Debug Log Level Number Debug Level
Passthrough Boolean High-to-Low Layer Passthrough
Persistent Connection Boolean HTTP Connection is Persistent
Watch Boolean Watch Layer

HTTP Layer Functions

Function Type Description
getHttpAllowBlockingEvent(layer) getter Get “Allow Blocking Event” Parameter
getHttpBasePath(layer) getter Get “Base Path” Parameter
getHttpBlocked(layer) getter Get “Blocked” Parameter
getHttpDebugLogLevel(layer) getter Get “Debug Log Level” Parameter
getHttpDestinationPeer(layer) getter Get “Destination Peer” Parameter
getHttpNoEvents(layer) getter Get “No Events” Parameter
getHttpPassthrough(layer) getter Get “Passthrough” Parameter
getHttpPersistentConnection(layer) getter Get “Persistent Connection” Parameter
getHttpWaitToRespond(layer) getter Get “Wait To Respond” Parameter
getHttpWatch(layer) getter Get “Watch” Parameter
getStatsHttpAvailableInstances(layer) getter Get “Available Instances” Parameter
getStatsHttpDownstreamLastPacket(layer) getter Get “Downstream Last Packet” Parameter
getStatsHttpDownstreamPacketCount(layer) getter Get “Downstream Packet Count” Parameter
getStatsHttpMaxDownstreamDelay(layer) getter Get “Max Downstream Delay” Parameter
getStatsHttpMaxUpstreamDelay(layer) getter Get “Max Upstream Delay” Parameter
getStatsHttpMeanDownstreamDelay(layer) getter Get “Mean Downstream Delay” Parameter
getStatsHttpMeanUpstreamDelay(layer) getter Get “Mean Upstream Delay” Parameter
getStatsHttpMinDownstreamDelay(layer) getter Get “Min Downstream Delay” Parameter
getStatsHttpMinUpstreamDelay(layer) getter Get “Min Upstream Delay” Parameter
getStatsHttpName(layer) getter Get “Name” Parameter
getStatsHttpRateBpsDownstream(layer) getter Get “Rate Bps Downstream” Parameter
getStatsHttpRateBpsUpstream(layer) getter Get “Rate Bps Upstream” Parameter
getStatsHttpTimestampIn(layer) getter Get “Timestamp In” Parameter
getStatsHttpTimestampOut(layer) getter Get “Timestamp Out” Parameter
getStatsHttpType(layer) getter Get “Type” Parameter
getStatsHttpUpstreamLastPacket(layer) getter Get “Upstream Last Packet” Parameter
getStatsHttpUpstreamPacketCount(layer) getter Get “Upstream Packet Count” Parameter
getStatsHttpVarianceDownstreamDelay(layer) getter Get “Variance Downstream Delay” Parameter
getStatsHttpVarianceUpstreamDelay(layer) getter Get “Variance Upstream Delay” Parameter
httpGet(layer,url) function HTTP Get
httpGetEventMethod(event) getter Get method out of Event
httpGetEventUrl(event) getter Get URL out of Event
httpRespond(layer) function HTTP Respond
httpSetContent(layer,content) function Set HTTP Content
isEventHttpRequest(event) event Request Event
isEventHttpResponse(event) event Response Event
isEventHttpStored(event) event Store Event
isEventHttpTimeout(event) event Timeout Event
isEventHttpTypeRx(event) event Reception Event
isEventHttpTypeTx(event) event Transmission Event
setHttpAllowBlockingEvent(layer,value) setter Set “Allow Blocking Event” Parameter
setHttpBasePath(layer,value) setter Set “Base Path” Parameter
setHttpBlocked(layer,value) setter Set “Blocked” Parameter
setHttpDebugLogLevel(layer,value) setter Set “Debug Log Level” Parameter
setHttpNoEvents(layer,value) setter Set “No Events” Parameter
setHttpPassthrough(layer,value) setter Set “Passthrough” Parameter
setHttpPersistentConnection(layer,value) setter Set “Persistent Connection” Parameter
setHttpWaitToRespond(layer,value) setter Set “Wait To Respond” Parameter
setHttpWatch(layer,value) setter Set “Watch” Parameter