forked from zamronypj/fano
/
FcgiStdOut.pas
43 lines (32 loc) · 954 Bytes
/
FcgiStdOut.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{*!
* Fano Web Framework (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT)
*}
unit FcgiStdOut;
interface
{$MODE OBJFPC}
{$H+}
uses
StreamAdapterIntf,
FcgiRecord;
type
(*!-----------------------------------------------
* Standard output binary stream (FCGI_STDOUT)
*
* @author Zamrony P. Juhara <zamronypj@yahoo.com>
*-----------------------------------------------*)
TFcgiStdOut = class(TFcgiRecord)
public
constructor create(const dataStream : IStreamAdapter; const requestId : word);
end;
implementation
uses
fastcgi;
constructor TFcgiStdOut.create(const dataStream : IStreamAdapter; const requestId : word);
begin
inherited create(FCGI_VERSION_1, FCGI_STDOUT, requestId, dataStream);
end;
end.