Fcgi::Records::Record
Inherits Reference < Object
Constructors
new(version : UInt32, type : UInt32, request_id : UInt32, content_data : Array(UInt8))
Sourcenew(version : UInt32, type : UInt32, io : IO)
SourceClass methods
from_io(io)
SourceInstance methods
content_data
Sourcecontent_data=(content_data : Array(UInt8))
Sourcecontent_length
Sourcecontent_length=(content_length : Int32 | UInt32)
Sourcepadding_data
Sourcepadding_data=(padding_data : Array(UInt8))
Sourcepadding_length
Sourcepadding_length=(padding_length : Int32 | UInt32)
Sourcerecord_type
Sourcerecord_type=(record_type : UInt32)
Sourcerequest_id
Sourcerequest_id=(request_id : UInt32)
Sourceto_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::BigEndian)
Sourceto_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.
version
Sourceversion=(version : UInt32)
Source