File Coverage

blib/lib/MCP/Server/Transport.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package MCP::Server::Transport;
2 2     2   1288 use Mojo::Base -base, -signatures;
  2         5  
  2         15  
3              
4             has 'server';
5              
6             1;
7              
8             =encoding utf8
9              
10             =head1 NAME
11              
12             MCP:Transport - Transport base class
13              
14             =head1 SYNOPSIS
15              
16             package MyMCPTransport;
17             use Mojo::Base 'MCP::Server::Transport';
18              
19             1;
20              
21             =head1 DESCRIPTION
22              
23             L is a base class for MCP (Model Context Protocol) transport implementations.
24              
25             =head1 ATTRIBUTES
26              
27             L implements the following attributes.
28              
29             =head2 server
30              
31             my $server = $transport->server;
32             $transport = $transport->server(MCP::Server->new);
33              
34             The server instance that this transport is associated with.
35              
36             =head1 SEE ALSO
37              
38             L, L, L.
39              
40             =cut