class

Fcgi::Records::Record

Inherits Reference < Object

Constructors

new(version : UInt32, type : UInt32, request_id : UInt32, content_data : Array(UInt8))
Source
new(version : UInt32, type : UInt32, io : IO)
Source

Class methods

from_io(io)
Source

Instance methods

content_data
Source
content_data=(content_data : Array(UInt8))
Source
content_length
Source
content_length=(content_length : Int32 | UInt32)
Source
padding_data
Source
padding_data=(padding_data : Array(UInt8))
Source
padding_length
Source
padding_length=(padding_length : Int32 | UInt32)
Source
record_type
Source
record_type=(record_type : UInt32)
Source
request_id
Source
request_id=(request_id : UInt32)
Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::BigEndian)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
version
Source
version=(version : UInt32)
Source