| 1 | package Linux::Event::WebSocket::Server::Connection; | ||
| 2 | 7 | ▶ | use v5.36; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 7 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 7 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 7 | our $VERSION = '0.001'; | |
| 7 | |||
| 8 | 7 | ▶ | use parent 'Linux::Event::WebSocket::Connection'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | # Linux::Event::HTTP keeps its constructor-installed transport-close wrapper | ||
| 11 | # across transition_to(). That wrapper performs one final HTTP state cleanup | ||
| 12 | # before forwarding to the WebSocket close lifecycle, so preserve its private | ||
| 13 | # cleanup entry point on the transitioned object without duplicating HTTP state | ||
| 14 | # knowledge here. | ||
| 15 | ▶ | sub _clear_transaction ($self) { | |
|
Subroutine
_clear_transaction: called CC=1 SCAR=0.0
| |||
| 16 | 3 | require Linux::Event::HTTP::Server::Connection; | |
| 17 | 3 | Linux::Event::HTTP::Server::Connection::_clear_transaction($self); | |
| 18 | 3 | return; | |
| 19 | } | ||
| 20 | |||
| 21 | 7 | 1; | |
| 22 | |||
| 23 | __END__ | ||