|
Class: FCGIConnection
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
initialization
-
initializeFor: aHTTPServer socket: aSocket
-
serving
-
setKeepConnectionForRequest: request
-
set weather the connection should be closed.
FastCgi tells this for each request in BeginRequestRecord.
-
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.
-
waitForAndFetchRequest
-
fetch the next complete request from the connection.
FastCgi may multiplex more than one request (as several records)
onto one connection. #waitAndFetchRecord demultiplexes.
-
writeRecord: aFcgiRecord
-
write a FastCgiRecord (part of the response) to the socket
|