forked from zamronypj/fano
/
FcgiAbortRequest.pas
44 lines (32 loc) · 978 Bytes
/
FcgiAbortRequest.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
44
{*!
* 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 FcgiAbortRequest;
interface
{$MODE OBJFPC}
{$H+}
uses
FcgiRecord,
StreamAdapterIntf;
type
(*!-----------------------------------------------
* Abort Request record (FCGI_ABORT_REQUEST)
*
* @author Zamrony P. Juhara <zamronypj@yahoo.com>
*-----------------------------------------------*)
TFcgiAbortRequest = class(TFcgiRecord)
public
constructor create(const dataStream : IStreamAdapter; const requestId : word);
end;
implementation
uses
fastcgi;
constructor TFcgiAbortRequest.create(const dataStream : IStreamAdapter; const requestId : word);
begin
inherited create(FCGI_VERSION_1, FCGI_ABORT_REQUEST, requestId, dataStream);
end;
end.