class FCGI::UnknownTypeRecord

Constants

BODY_FORMAT

uint8_t type; uint8_t reserved;

Attributes

unknown_type[R]

Public Class Methods

new(id, t) click to toggle source
Calls superclass method FCGI::Record.new
# File lib/fcgi.rb, line 419
def initialize(id, t)
  super FCGI_UNKNOWN_TYPE, id
  @unknown_type = t
end
parse(id, body) click to toggle source
# File lib/fcgi.rb, line 414
def self::parse(id, body)
  type, *reserved = *body.unpack(BODY_FORMAT)
  new(id, type)
end