projects
/
scpubgit/Tak.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
client and server manage to talk
[scpubgit/Tak.git]
/
lib
/
Tak
/
Request.pm
1
package Tak::Request;
2
3
use Moo;
4
5
has tag => (is => 'ro', required => 1);
6
7
has respond_to => (is => 'ro', required => 1, weak_ref => 1);
8
9
sub respond {
10
my $self = shift;
11
$self->respond_to->send_response($self->tag => @_);
12
}
13
14
1;