Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCPP-6, RCPP-83: Improve networking #216

Merged
merged 41 commits into from
Jul 17, 2024
Merged

RCPP-6, RCPP-83: Improve networking #216

merged 41 commits into from
Jul 17, 2024

Conversation

leemaguire
Copy link
Contributor

@leemaguire leemaguire commented Jun 11, 2024

  • Add realm::networking namespace which contains interfaces for providing your own custom network transport
    implementations. The following interfaces are exposed:
    • websocket_interface
    • websocket_observer
    • sync_socket_provider
    • sync_socket_provider::timer
    • http_transport_client
  • Add default_http_transport for built-in HTTP transport.
  • Add default_socket_provider a built-in class for providing the components necessary for transport via WebSocket.
  • A custom WebSocket & HTTP transport implementation can be used by passing
    the instance via realm::app::App::configuration.http_transport_client & realm::app::App::configuration.sync_socket_provider.
  • Proxy and custom header configuration for built-in transport must be supplied via the constructor on
    realm::networking::default_http_transport & realm::networking::default_socket_provider using the
    realm::networking::default_transport_configuration

include/cpprealm/networking/platform_networking.hpp Outdated Show resolved Hide resolved
include/cpprealm/networking/networking.hpp Outdated Show resolved Hide resolved
include/cpprealm/networking/platform_networking.hpp Outdated Show resolved Hide resolved
src/cpprealm/networking/networking.cpp Outdated Show resolved Hide resolved
src/cpprealm/networking/networking.cpp Outdated Show resolved Hide resolved
src/cpprealm/app.cpp Outdated Show resolved Hide resolved
include/cpprealm/networking/websocket.hpp Outdated Show resolved Hide resolved
@leemaguire leemaguire merged commit 5ec1bda into main Jul 17, 2024
38 of 51 checks passed
@leemaguire leemaguire deleted the lm/networking branch July 17, 2024 11:24
@nirinchev nirinchev changed the title RCPP-6 Improve networking RCPP-6, RCPP-83: Improve networking Aug 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants