TrafficController

Extends \Symfony\Bundle\FrameworkBundle\Controller\AbstractController

Traffic Controller provides rendering operations for incoming and outgoing displays

package

App\Controller

Methods

Displays the traffic dashboard template

dashboardTrafficAction(\Symfony\Component\HttpFoundation\Request $request) : \Symfony\Component\HttpFoundation\Response
Route

("/dashboard", methods={"GET"}, name="traffic_dashboard")

Arguments

$request

\Symfony\Component\HttpFoundation\Request

Response

\Symfony\Component\HttpFoundation\Response

Displays a table of most recent incoming data with headers, payload, and timestamps

incomingTrafficAction(null|integer $id = null) : \Symfony\Component\HttpFoundation\Response
Route

("/incoming/{id}", methods={"GET"}, name="traffic_incoming")

Arguments

$id

null|integer

Response

\Symfony\Component\HttpFoundation\Response

Displays outgoing data sent with response from target servers

outgoingTrafficAction(null|integer $id = null) : \Symfony\Component\HttpFoundation\Response
Route

("/outgoing/{id}", methods={"GET"}, name="traffic_outgoing")

Arguments

$id

null|integer

Response

\Symfony\Component\HttpFoundation\Response