Skip to content

Commit

Permalink
split interfaces into http and websocket headers
Browse files Browse the repository at this point in the history
  • Loading branch information
leemaguire committed Jul 16, 2024
1 parent 9bae9d7 commit 54d18d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/cpprealm/internal/networking/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ namespace realm {

namespace realm::internal::networking {
::realm::networking::request to_request(const ::realm::app::Request&);
// ::realm::app::Request to_core_request(const ::realm::networking::request&);

// ::realm::networking::response to_response(const ::realm::app::Response&);
::realm::app::Response to_core_response(const ::realm::networking::response&);

::realm::sync::WebSocketEndpoint to_core_websocket_endpoint(const ::realm::networking::sync_socket_provider::websocket_endpoint& ep,
Expand Down
2 changes: 2 additions & 0 deletions include/cpprealm/networking/http.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <cpprealm/version_numbers.hpp>
#endif

#include <optional>

namespace realm::networking {

// Interface for providing http transport
Expand Down
1 change: 1 addition & 0 deletions include/cpprealm/networking/networking.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#ifndef CPPREALM_NETWORKING_HPP
#define CPPREALM_NETWORKING_HPP

#include <optional>
#include <map>
#include <string>

Expand Down
1 change: 1 addition & 0 deletions include/cpprealm/networking/websocket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#endif

#include <chrono>
#include <optional>

namespace realm {
namespace sync {
Expand Down

0 comments on commit 54d18d8

Please sign in to comment.