class Fcgi::Records::Record

Direct Known Subclasses

Defined in:

fcgi/records/record.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(version : UInt32, type : UInt32, request_id : UInt32, content_data : Array(UInt8)) #

[View source]
def self.new(version : UInt32, type : UInt32, io : IO) #

[View source]

Class Method Detail

def self.from_io(io) #

[View source]

Instance Method Detail

def content_data : Array(UInt8) #

[View source]
def content_data=(content_data : Array(UInt8)) #

[View source]
def content_length : Int32 | UInt32 #

[View source]
def content_length=(content_length : Int32 | UInt32) #

[View source]
def padding_data : Array(UInt8) #

[View source]
def padding_data=(padding_data : Array(UInt8)) #

[View source]
def padding_length : Int32 | UInt32 #

[View source]
def padding_length=(padding_length : Int32 | UInt32) #

[View source]
def record_type : UInt32 #

[View source]
def record_type=(record_type : UInt32) #

[View source]
def request_id : UInt32 #

[View source]
def request_id=(request_id : UInt32) #

[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::BigEndian) #

[View source]
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.


[View source]
def version : UInt32 #

[View source]
def version=(version : UInt32) #

[View source]