/*
- * $Id$
- *
- * DEBUG: section 16 Cache Manager API
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
*/
+/* DEBUG: section 16 Cache Manager API */
+
#ifndef SQUID_MGR_ACTION_PARAMS_H
#define SQUID_MGR_ACTION_PARAMS_H
-#include "HttpRequestMethod.h"
+#include "http/RequestMethod.h"
#include "ipc/forward.h"
#include "mgr/QueryParams.h"
+#include "RequestFlags.h"
namespace Mgr
{
public:
/* details of the client HTTP request that caused the action */
String httpUri; ///< HTTP request URI
- _method_t httpMethod; ///< HTTP request method
- request_flags httpFlags; ///< HTTP request flags
+ HttpRequestMethod httpMethod; ///< HTTP request method
+ RequestFlags httpFlags; ///< HTTP request flags
+ String httpOrigin; ///< HTTP Origin: header (if any)
/* action parameters extracted from the client HTTP request */
String actionName; ///< action name (and credentials realm)
} // namespace Mgr
-std::ostream &operator <<(std::ostream &os, const Mgr::ActionParams ¶ms);
-
#endif /* SQUID_MGR_ACTION_PARAMS_H */
+