HTTP::Server::EV::Buffer - Non-blocking output buffer.
$HTTP::Server::EV::Buffer::autoflush = 1024*50; # Default buffered data size in bytes when buffer starts waiting socket to be writable to send data. Setting 0 disables buffering, data will be sent as soon as socket becomes writable.
Creates new HTTP::Server::EV::Buffer object.
Prints data to buffer.
Sends all buffered data to socket and sets new flush threshold if $flush_threshold defined;
Implement onerror callback
To install HTTP::Server::EV, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Server::EV
CPAN shell
perl -MCPAN -e shell install HTTP::Server::EV
For more information on module installation, please visit the detailed CPAN module installation guide.