has respond_to => (is => 'ro', required => 1, weak_ref => 1);
+has respond_with => (is => 'ro', required => 1);
+
sub respond {
my $self = shift;
- $self->respond_to->send_response($self->tag => @_);
+ $self->respond_to->${\$self->respond_with}($self->tag => @_);
}
1;