| 1 | package Kubernetes::REST::Role::IO; | ||||||||||
| 2 | 93 | our $VERSION = '1.110'; | |||||||||
| 3 | # ABSTRACT: Interface role for HTTP backends | ||||||||||
| 4 | 93 | ▶ | use Moo::Role; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | |||||||||||
| 7 | 93 | requires 'call'; | |||||||||
| 8 | |||||||||||
| 9 | |||||||||||
| 10 | 93 | requires 'call_streaming'; | |||||||||
| 11 | |||||||||||
| 12 | |||||||||||
| 13 | 2 | ▶ | sub supports_duplex { | ||||||||
|
Subroutine
supports_duplex: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 14 | 2 | my ($self) = @_; | |||||||||
| 15 | 2 | ▶ | return $self->can('call_duplex') ? 1 : 0; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | |||||||||||
| 19 | 93 | 1; | |||||||||
| 20 | |||||||||||
| 21 | __END__ | ||||||||||