forked from boostorg/beast
Canonicalize string_view parameter types
This commit is contained in:
+16
-16
@@ -200,8 +200,8 @@ public:
|
||||
template<class NextLayer>
|
||||
void
|
||||
handshake(stream<NextLayer>& ws,
|
||||
string_view const& uri,
|
||||
string_view const& path) const
|
||||
string_view uri,
|
||||
string_view path) const
|
||||
{
|
||||
ws.handshake(uri, path);
|
||||
}
|
||||
@@ -210,8 +210,8 @@ public:
|
||||
void
|
||||
handshake(stream<NextLayer>& ws,
|
||||
response_type& res,
|
||||
string_view const& uri,
|
||||
string_view const& path) const
|
||||
string_view uri,
|
||||
string_view path) const
|
||||
{
|
||||
ws.handshake(res, uri, path);
|
||||
}
|
||||
@@ -219,8 +219,8 @@ public:
|
||||
template<class NextLayer, class Decorator>
|
||||
void
|
||||
handshake_ex(stream<NextLayer>& ws,
|
||||
string_view const& uri,
|
||||
string_view const& path,
|
||||
string_view uri,
|
||||
string_view path,
|
||||
Decorator const& d) const
|
||||
{
|
||||
ws.handshake_ex(uri, path, d);
|
||||
@@ -230,8 +230,8 @@ public:
|
||||
void
|
||||
handshake_ex(stream<NextLayer>& ws,
|
||||
response_type& res,
|
||||
string_view const& uri,
|
||||
string_view const& path,
|
||||
string_view uri,
|
||||
string_view path,
|
||||
Decorator const& d) const
|
||||
{
|
||||
ws.handshake_ex(res, uri, path, d);
|
||||
@@ -413,8 +413,8 @@ public:
|
||||
template<class NextLayer>
|
||||
void
|
||||
handshake(stream<NextLayer>& ws,
|
||||
string_view const& uri,
|
||||
string_view const& path) const
|
||||
string_view uri,
|
||||
string_view path) const
|
||||
{
|
||||
error_code ec;
|
||||
ws.async_handshake(
|
||||
@@ -427,8 +427,8 @@ public:
|
||||
void
|
||||
handshake(stream<NextLayer>& ws,
|
||||
response_type& res,
|
||||
string_view const& uri,
|
||||
string_view const& path) const
|
||||
string_view uri,
|
||||
string_view path) const
|
||||
{
|
||||
error_code ec;
|
||||
ws.async_handshake(
|
||||
@@ -440,8 +440,8 @@ public:
|
||||
template<class NextLayer, class Decorator>
|
||||
void
|
||||
handshake_ex(stream<NextLayer>& ws,
|
||||
string_view const& uri,
|
||||
string_view const& path,
|
||||
string_view uri,
|
||||
string_view path,
|
||||
Decorator const &d) const
|
||||
{
|
||||
error_code ec;
|
||||
@@ -455,8 +455,8 @@ public:
|
||||
void
|
||||
handshake_ex(stream<NextLayer>& ws,
|
||||
response_type& res,
|
||||
string_view const& uri,
|
||||
string_view const& path,
|
||||
string_view uri,
|
||||
string_view path,
|
||||
Decorator const &d) const
|
||||
{
|
||||
error_code ec;
|
||||
|
||||
Reference in New Issue
Block a user