eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FCGIConnection':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: FCGIConnection


Inheritance:

   Object
   |
   +--HTTPConnection
      |
      +--FCGIConnection

Package:
stx:goodies/webServer
Category:
Net-Communication-FCGI-Server
Version:
rev: 1.6 date: 2017/02/23 18:35:33
user: mawalch
file: FCGIConnection.st directory: goodies/webServer
module: stx stc-classLibrary: webServer

Instance protocol:

initialization
o  initializeFor: aHTTPServer socket: aSocket

serving
o  setKeepConnectionForRequest: request
set weather the connection should be closed.
FastCgi tells this for each request in BeginRequestRecord.

o  waitForAndFetchRecord
Read the request and return an HTTPRequest instance,
when the request is complte.
Return nil, if there is complete request yet.

FastCGI may multiplex several requests onton the same connection.
Demultiplexing is done here.

o  waitForAndFetchRequest
fetch the next complete request from the connection.
FastCgi may multiplex more than one request (as several records)
onto one connection. #waitAndFetchRecord demultiplexes.

o  writeRecord: aFcgiRecord
write a FastCgiRecord (part of the response) to the socket



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 16 Apr 2021 11:56:11 GMT