Prose\UsingSavageD::deleteStatsPrefix PHP Method

deleteStatsPrefix() public method

public deleteStatsPrefix ( )
    public function deleteStatsPrefix()
    {
        // what are we doing?
        $log = usingLog()->startAction("delete SavageD stats prefix on host '{$this->args[0]}'");
        // where are we doing this?
        $url = $this->getSavagedUrl() . "/stats/prefix";
        // make the request
        $response = usingHttp()->delete($url);
        // did it work?
        expectsHttpResponse($response)->hasStatusCode(200);
        // all done
        $log->endAction();
    }