Rayo::Server
Constants
SHRINK_ABOVE = 0
Connection buffers go back to the allocator whenever they are empty, so an idle keep-alive connection holds no buffer memory (on a 2 GB box this decides how many connections fit). Buffers are allocated on first use and grow as needed.
Class methods
conn(id : Int32) : Connection
Sourcedatabase
Sourcedatabase=(database : PG::WorkerPool | Nil)
Sourceemit(id : Int32) : Nil
Sourcefinish(id : Int32) : Nil
Sourceflush(id : Int32) : Nil
Sourceinit(app : App, n : Int32) : Nil
Sourceon_data(id : Int32, p : Pointer(UInt8), n : Int32) : Nil
Sourceon_eof(id : Int32) : Nil
Sourceon_sent(id : Int32, n : Int32) : Nil
Sourceprocess(id : Int32) : Nil
Source