class Fcgi::Records::Record
- Fcgi::Records::Record
- Reference
- Object
Direct Known Subclasses
- Fcgi::Records::AbstractData
- Fcgi::Records::BeginRequest
- Fcgi::Records::EndRequest
- Fcgi::Records::Params
- Fcgi::Records::Stderr
- Fcgi::Records::Stdout
Defined in:
fcgi/records/record.crConstructors
- .new(version : UInt32, type : UInt32, request_id : UInt32, content_data : Array(UInt8))
- .new(version : UInt32, type : UInt32, io : IO)
Class Method Summary
Instance Method Summary
- #content_data : Array(UInt8)
- #content_data=(content_data : Array(UInt8))
- #content_length : Int32 | UInt32
- #content_length=(content_length : Int32 | UInt32)
- #padding_data : Array(UInt8)
- #padding_data=(padding_data : Array(UInt8))
- #padding_length : Int32 | UInt32
- #padding_length=(padding_length : Int32 | UInt32)
- #record_type : UInt32
- #record_type=(record_type : UInt32)
- #request_id : UInt32
- #request_id=(request_id : UInt32)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::BigEndian)
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #version : UInt32
- #version=(version : UInt32)
Constructor Detail
def self.new(version : UInt32, type : UInt32, request_id : UInt32, content_data : Array(UInt8))
#
Class Method Detail
Instance Method Detail
def to_s
#
Description copied from class Object
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
.