mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-10 12:16:49 +00:00
Address review feedback
This commit is contained in:
@@ -134,7 +134,8 @@ public:
|
||||
static void
|
||||
onRequest(Session& session)
|
||||
{
|
||||
session.write(std::string_view("Hello, world!\n"));
|
||||
using namespace std::string_view_literals;
|
||||
session.write("Hello, world!\n"sv);
|
||||
if (beast::rfc2616::isKeepAlive(session.request()))
|
||||
{
|
||||
session.complete();
|
||||
|
||||
Reference in New Issue
Block a user