diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-07-29 11:01:47 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-07-29 11:01:47 +0100 |
commit | 9856760c8e8d03e3f896755cc0f78932a82d509e (patch) | |
tree | 950b324a47cbca64407f8749a6daa35b8988f327 /icespider/testing/testRequest.cpp | |
parent | Remove magic number and string resize hack (diff) | |
download | icespider-9856760c8e8d03e3f896755cc0f78932a82d509e.tar.bz2 icespider-9856760c8e8d03e3f896755cc0f78932a82d509e.tar.xz icespider-9856760c8e8d03e3f896755cc0f78932a82d509e.zip |
Rename internal paramGet functions to disambiguate from the typed ones
Diffstat (limited to 'icespider/testing/testRequest.cpp')
-rw-r--r-- | icespider/testing/testRequest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/icespider/testing/testRequest.cpp b/icespider/testing/testRequest.cpp index 552987c..3657117 100644 --- a/icespider/testing/testRequest.cpp +++ b/icespider/testing/testRequest.cpp @@ -44,7 +44,7 @@ namespace IceSpider { } OptionalString - TestRequest::getEnv(const std::string_view & key) const + TestRequest::getEnvStr(const std::string_view & key) const { return get(key, env); } @@ -56,19 +56,19 @@ namespace IceSpider { } OptionalString - TestRequest::getQueryStringParam(const std::string_view & key) const + TestRequest::getQueryStringParamStr(const std::string_view & key) const { return get(key, qs); } OptionalString - TestRequest::getCookieParam(const std::string_view & key) const + TestRequest::getCookieParamStr(const std::string_view & key) const { return get(key, cookies); } OptionalString - TestRequest::getHeaderParam(const std::string_view & key) const + TestRequest::getHeaderParamStr(const std::string_view & key) const { return get(key, hdr); } |