NAME

WebService::OPNsense::TrafficShaper::Service - Traffic shaper service controller

VERSION

version 0.003

SYNOPSIS

my $ts_service = $opn->trafficshaper_service;

$ts_service->reconfigure;

DESCRIPTION

Controls the traffic shaper service

METHODS

client

my $http_client = $ts_service->client;

Returns the underlying HTTP client object used for API requests.

flush_reload

my $result = $ts_service->flush_reload;

Flushes and reloads the traffic shaper configuration.

reconfigure

my $result = $ts_service->reconfigure;

Reconfigures the traffic shaper.

statistics

my $stats = $ts_service->statistics;

Returns traffic shaper statistics.

SEE ALSO

WebService::OPNsense::Role::APIPath

AUTHOR

Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2026 by Dean Hamstead.

This is free software, licensed under:

The MIT (X11) License