]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/Request.h
2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 /* DEBUG: section 16 Cache Manager API */
11 #ifndef SQUID_MGR_REQUEST_H
12 #define SQUID_MGR_REQUEST_H
14 #include "ipc/forward.h"
15 #include "ipc/Request.h"
16 #include "mgr/ActionParams.h"
21 /// cache manager request
22 class Request
: public Ipc::Request
25 Request(int aRequestorId
, Ipc::RequestId
, const Comm::ConnectionPointer
&aConn
,
26 const ActionParams
&aParams
);
28 explicit Request(const Ipc::TypedMsgHdr
& msg
); ///< from recvmsg()
29 /* Ipc::Request API */
30 virtual void pack(Ipc::TypedMsgHdr
& msg
) const;
31 virtual Pointer
clone() const;
34 Comm::ConnectionPointer conn
; ///< HTTP client connection descriptor
36 ActionParams params
; ///< action name and parameters
41 #endif /* SQUID_MGR_REQUEST_H */