HTTPClient>.
JSON data is decoded using a L<JSON> object handled by
L<Net::Async::Graphite::JSONCodec>.
=cut
with 'Net::Async::Graphite::HTTPClient';
with 'Net::Async::Graphite::JSONCodec';
=head
=item find
=item expand
=item index[.json]
C</metrics/index.json> can be requested with C<$method> of C<index> or
C<index.json> because requiring the C<.json> suffix is silly. Also I
can consider
llowed_metrics_params{'index.json'} = $allowed_metrics_params{index}; # FFS
sub metrics {
my $self = shift;
my ($method, $query, %extra) = @_;
$method = 'index.json' if $method eq 'index';
re