Class: FCGI::EndRequestRecord

### Home Classes Methods

### In Files

- lib/fcgi.rb

### Parent

FCGI::Record

### Methods

- ::new
- ::parse

### Class/Module Index

Quicksearch

- FCGI
- FCGI::AbortRequestRecord
- FCGI::BeginRequestRecord
- FCGI::DataRecord
- FCGI::EndRequestRecord
- FCGI::FastCGISocket
- FCGI::GenericDataRecord
- FCGI::GetValuesRecord
- FCGI::ParamsRecord
- FCGI::Record
- FCGI::RecordBuffer
- FCGI::Request
- FCGI::Server
- FCGI::StdinDataRecord
- FCGI::StdoutDataRecord
- FCGI::UnknownTypeRecord
- FCGI::ValuesRecord

No matching classes.

# FCGI::EndRequestRecord

### Constants

BODY_FORMAT

  uint32_t appStatus; (big endian) uint8_t protocolStatus; uint8_t reserved;

### Attributes

application_status[R]
protocol_status[R]

### Public Class Methods

new(id, appstatus, protostatus) click to toggle source

    # File lib/fcgi.rb, line 393
    def initialize(id, appstatus, protostatus)
      super FCGI_END_REQUEST, id
      @application_status = appstatus
      @protocol_status = protostatus
    end

parse(id, body) click to toggle source

    # File lib/fcgi.rb, line 388
    def self::parse(id, body)
      appstatus, protostatus, *reserved = *body.unpack(BODY_FORMAT)
      new(id, appstatus, protostatus)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.