I built a generator for AWS Signature4 requests
<https://gist.github.com/s1037989/479087c752d7461d3499c12971636678>.  This
generator calculates a signed Authorization header for the request.  Is
this a good use of the Transactor generator feature?

As you can see from L13
<https://gist.github.com/s1037989/479087c752d7461d3499c12971636678#file-ec2-t-L13>
of the supplied test, I make my generator available this way:

$ua->transactor->add_generator(Mojo::AWS::Signature4::generator);


Is this the best mechanism available to share this generator, or is there a
recommended standard convention?  When I go to document it for publishing,
is that what I should have in the synopsis section?  It almost feels like
there should be a plugin mechanism for Mojo::UserAgent.

Thanks for any advice and comments you have!

Stefan

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to