+/*
+ * Copyright (C) 1996-2017 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.
+ */
+
#ifndef SQUID_HTTPREQUESTMETHOD_H
#define SQUID_HTTPREQUESTMETHOD_H
#include "http/forward.h"
#include "http/MethodType.h"
-#include "SBuf.h"
+#include "sbuf/SBuf.h"
class SquidConfig;
public:
HttpRequestMethod() : theMethod(Http::METHOD_NONE), theImage() {}
HttpRequestMethod(Http::MethodType const aMethod) : theMethod(aMethod), theImage() {}
- explicit HttpRequestMethod(char const *);
explicit HttpRequestMethod(const SBuf &);
+ void HttpRequestMethodXXX(char const *); // deprecated old c-string to SBuf converter.
+
HttpRequestMethod & operator = (const HttpRequestMethod& aMethod) {
theMethod = aMethod.theMethod;
theImage = aMethod.theImage;
}
#endif /* SQUID_HTTPREQUESTMETHOD_H */
+