class

Rayo::Server::Connection

Inherits Reference < Object

Buffers and Context are retained per slot and reused even after a peer disconnects. In-flight output is immutable; new responses accumulate in next_output. The pipelining buffers start empty and grow only when a client pipelines.

Constructors

new(id : Int32)
Source

Instance methods

backlog
Source
busy
Source
busy=(busy : Bool)
Source
closing
Source
closing=(closing : Bool)
Source
consumed
Source
consumed=(consumed : Int32)
Source
context
Source
eof=(eof : Bool)
Source
gen=(gen : UInt16)
Source
input
Source
next_output
Source
next_output=(next_output : Rayo::Buf)
Source
open
Source
open=(open : Bool)
Source
output
Source
output=(output : Rayo::Buf)
Source
reset
Source
retired
Source
retired=(retired : Bool)
Source
sending
Source
sending=(sending : Bool)
Source
sent
Source
sent=(sent : Int32)
Source
shrink
Source
shutting_down
Source
shutting_down=(shutting_down : Bool)
Source