diff --git a/src/network/rest/RequestDispatcher.h b/src/network/rest/RequestDispatcher.h index a7cf31d2..e007910e 100644 --- a/src/network/rest/RequestDispatcher.h +++ b/src/network/rest/RequestDispatcher.h @@ -45,8 +45,7 @@ namespace network // // --------------------------------------------------------------------------- - struct RequestMatch : std::smatch - { + struct RequestMatch : std::smatch { /// Initializes a new instance of the RequestMatch structure. RequestMatch(const std::smatch& m, const std::string& c) : std::smatch(m), content(c) { /* stub */ } diff --git a/src/network/rest/http/ClientConnection.h b/src/network/rest/http/ClientConnection.h index 6cf0b81c..d87838dd 100644 --- a/src/network/rest/http/ClientConnection.h +++ b/src/network/rest/http/ClientConnection.h @@ -60,8 +60,7 @@ namespace network // --------------------------------------------------------------------------- template - class ClientConnection - { + class ClientConnection { public: /// Initializes a new instance of the ClientConnection class. explicit ClientConnection(asio::ip::tcp::socket socket, RequestHandlerType& handler) : diff --git a/src/network/rest/http/HTTPHeaders.h b/src/network/rest/http/HTTPHeaders.h index ffa1473a..b4666c79 100644 --- a/src/network/rest/http/HTTPHeaders.h +++ b/src/network/rest/http/HTTPHeaders.h @@ -61,8 +61,7 @@ namespace network // // --------------------------------------------------------------------------- - struct HTTPHeaders - { + struct HTTPHeaders { struct Header { std::string name; diff --git a/src/network/rest/http/HTTPLexer.h b/src/network/rest/http/HTTPLexer.h index 6d38119c..c4cf1bcf 100644 --- a/src/network/rest/http/HTTPLexer.h +++ b/src/network/rest/http/HTTPLexer.h @@ -60,8 +60,7 @@ namespace network // This class implements the lexer for incoming payloads. // --------------------------------------------------------------------------- - class HTTPLexer - { + class HTTPLexer { public: enum ResultType { GOOD, BAD, INDETERMINATE }; diff --git a/src/network/rest/http/HTTPPayload.h b/src/network/rest/http/HTTPPayload.h index 7261464c..95db1648 100644 --- a/src/network/rest/http/HTTPPayload.h +++ b/src/network/rest/http/HTTPPayload.h @@ -69,8 +69,7 @@ namespace network // HTTP client/server. // --------------------------------------------------------------------------- - struct HTTPPayload - { + struct HTTPPayload { /// /// HTTP Status/Response Codes /// diff --git a/src/network/rest/http/HTTPRequestHandler.h b/src/network/rest/http/HTTPRequestHandler.h index 4dc4aa42..a3793f09 100644 --- a/src/network/rest/http/HTTPRequestHandler.h +++ b/src/network/rest/http/HTTPRequestHandler.h @@ -59,8 +59,7 @@ namespace network // This class implements the common handler for all incoming requests. // --------------------------------------------------------------------------- - class HTTPRequestHandler - { + class HTTPRequestHandler { public: /// Initializes a new instance of the HTTPRequestHandler class. explicit HTTPRequestHandler(const std::string& docRoot); diff --git a/src/network/rest/http/ServerConnection.h b/src/network/rest/http/ServerConnection.h index 837dd50b..93981b80 100644 --- a/src/network/rest/http/ServerConnection.h +++ b/src/network/rest/http/ServerConnection.h @@ -66,8 +66,7 @@ namespace network // --------------------------------------------------------------------------- template - class ServerConnection : public std::enable_shared_from_this> - { + class ServerConnection : public std::enable_shared_from_this> { typedef ServerConnection selfType; typedef std::shared_ptr selfTypePtr; typedef ServerConnectionManager ConnectionManagerType; diff --git a/src/network/rest/http/ServerConnectionManager.h b/src/network/rest/http/ServerConnectionManager.h index 5232502c..4f1a1748 100644 --- a/src/network/rest/http/ServerConnectionManager.h +++ b/src/network/rest/http/ServerConnectionManager.h @@ -56,8 +56,7 @@ namespace network // --------------------------------------------------------------------------- template - class ServerConnectionManager - { + class ServerConnectionManager { public: /// Initializes a new instance of the ServerConnectionManager class. ServerConnectionManager() { /* stub */ }