In Files

Parent

FCGI::BeginRequestRecord

Constants

BODY_FORMAT

uint16_t role; (big endian) uint8_t flags; uint8_t reserved[5];

Attributes

role[R]
flags[R]

Public Class Methods

new(id, role, flags) click to toggle source
     # File lib/fcgi.rb, line 358
358:       def initialize(id, role, flags)
359:         super FCGI_BEGIN_REQUEST, id
360:         @role = role
361:         @flags = flags
362:       end
parse(id, body) click to toggle source
     # File lib/fcgi.rb, line 353
353:       def BeginRequestRecord.parse(id, body)
354:         role, flags, *reserved = *body.unpack(BODY_FORMAT)
355:         new(id, role, flags)
356:       end

Public Instance Methods

make_body() click to toggle source
     # File lib/fcgi.rb, line 367
367:       def make_body
368:         [@role, @flags, 0, 0, 0, 0, 0].pack(BODY_FORMAT)
369:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.