class FCGI::UnknownTypeRecord
Constants
- BODY_FORMAT
-
uint8_t type; uint8_t reserved;
Attributes
Public Class Methods
Source
# File lib/fcgi.rb, line 424 def initialize(id, t) super FCGI_UNKNOWN_TYPE, id @unknown_type = t end
Calls superclass method
FCGI::Record::new
Source
# File lib/fcgi.rb, line 419 def self.parse(id, body) type, *reserved = *body.unpack(BODY_FORMAT) new(id, type) end
Private Instance Methods
Source
# File lib/fcgi.rb, line 433 def make_body [@unknown_type, 0, 0, 0, 0, 0, 0, 0].pack(BODY_FORMAT) end