In Files

Parent

FCGI::EndRequestRecord

Constants

BODY_FORMAT

uint32_t appStatus; (big endian) uint8_t protocolStatus; uint8_t reserved[3];

Attributes

application_status[R]
protocol_status[R]

Public Class Methods

new(id, appstatus, protostatus) click to toggle source
     # File lib/fcgi.rb, line 393
393:       def initialize(id, appstatus, protostatus)
394:         super FCGI_END_REQUEST, id
395:         @application_status = appstatus
396:         @protocol_status = protostatus
397:       end
parse(id, body) click to toggle source
     # File lib/fcgi.rb, line 388
388:       def self::parse(id, body)
389:         appstatus, protostatus, *reserved = *body.unpack(BODY_FORMAT)
390:         new(id, appstatus, protostatus)
391:       end

Private Instance Methods

make_body() click to toggle source
     # File lib/fcgi.rb, line 404
404:       def make_body
405:         [@application_status, @protocol_status, 0, 0, 0].pack(BODY_FORMAT)
406:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.