]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/Method.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / acl / Method.h
CommitLineData
5dee515e 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
5dee515e 3 *
bbc27441
AJ
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.
5dee515e 7 */
8
b0dd28ba 9#ifndef SQUID_ACLMETHOD_H
10#define SQUID_ACLMETHOD_H
63be0a78 11
602d9612 12#include "acl/Strategy.h"
f35c0145 13#include "http/RequestMethod.h"
5dee515e 14
63be0a78 15/// \ingroup ACLAPI
60745f24 16class ACLMethodStrategy : public ACLStrategy<HttpRequestMethod>
62e76326 17{
18
19public:
337b9aa4
AR
20 int match (ACLData<MatchType> * &, ACLFilledChecklist *) override;
21 bool requiresRequest() const override {return true;}
b0dd28ba 22};
5dee515e 23
b0dd28ba 24#endif /* SQUID_ACLMETHOD_H */
f53969cc 25