Skip Menu |

This queue is for tickets about the JSON-RPC CPAN distribution.

Report information
The Basics
Id: 36502
Status: new
Priority: 0/

Owner: Nobody in particular
Requestors: mkanat [...]

Bug Information
Severity: Wishlist
Broken in: 0.96
Fixed in: (no value)

Subject: Would like a hook for pre-method code
Download (untitled) / with headers
text/plain 481b
It would be nice to be able to specify that a certain piece of code should be run before a webservice method is called. I'm making a JSON-RPC interface for Bugzilla, and it needs to check if the user is logged in before calling certain methods (but other methods are exempt from checking if the user is logged in). For now, I can override _argument_type_check (which is the last thing called before $procedure->{code}) but it would be nice to have some official way of doing this.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to