update http proxy lib.
This commit is contained in:
parent
52b593ce63
commit
c1b636acee
@ -7,7 +7,7 @@
|
|||||||
#include <boost/url/rfc/detail/path_rules.hpp>
|
#include <boost/url/rfc/detail/path_rules.hpp>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
|
||||||
boost::urls::result<TemplateSegmentRule::value_type> TemplateSegmentRule::parse(const char *&iterator,
|
boost::system::result<TemplateSegmentRule::value_type> TemplateSegmentRule::parse(const char *&iterator,
|
||||||
const char *end) const noexcept {
|
const char *end) const noexcept {
|
||||||
TemplateSegmentRule::value_type ret;
|
TemplateSegmentRule::value_type ret;
|
||||||
bool isTemplate = false;
|
bool isTemplate = false;
|
||||||
|
@ -48,7 +48,7 @@ private:
|
|||||||
class TemplateSegmentRule {
|
class TemplateSegmentRule {
|
||||||
public:
|
public:
|
||||||
using value_type = TemplateSegment;
|
using value_type = TemplateSegment;
|
||||||
boost::urls::result<value_type> parse(char const *&iterator, char const *end) const noexcept;
|
boost::system::result<value_type> parse(char const *&iterator, char const *end) const noexcept;
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr auto templateSegmentRule = TemplateSegmentRule{};
|
constexpr auto templateSegmentRule = TemplateSegmentRule{};
|
||||||
|
Loading…
Reference in New Issue
Block a user