logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mail::MtPolicyd::Client::Response - a postfix policyd client response class

Author

       Markus Benning <ich@markusbenning.de>

Description

       Class to handle a policyd response.

   SYNOPSIS
         use Mail::MtPolicyd::Client::Response;
         my $response = Mail::MtPolicyd::Client::Response->new_from_fh( $conn );

         --

         my $response = Mail::MtPolicyd::Client::Response->new(
           action => 'reject',
           attributes => {
             action => 'reject',
           },
         );

         print $response->as_string;

   METHODS
       new_from_fh( $filehandle )
           Constructor which reads a response from the supplied filehandle.

       as_string
           Returns a stringified version of the response.

   ATTRIBUTES
       action (required)
           The action specified in the response.

       attributes
           Holds a hash with all key/values of the response.

Name

       Mail::MtPolicyd::Client::Response - a postfix policyd client response class

Version

       version 2.05

See Also