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

Decouple websocketpp from the rest of the program #44

Closed
ctrlaltf2 opened this issue Jun 2, 2020 · 2 comments
Closed

Decouple websocketpp from the rest of the program #44

ctrlaltf2 opened this issue Jun 2, 2020 · 2 comments
Assignees
Labels
1.0-issues enhancement medium effort refactor server Work on the server is needed to close this issue.

Comments

@ctrlaltf2
Copy link
Owner

This is a step towards (#35).

@ctrlaltf2 ctrlaltf2 added server Work on the server is needed to close this issue. medium effort enhancement labels Jun 2, 2020
@ctrlaltf2 ctrlaltf2 self-assigned this Jun 2, 2020
@ctrlaltf2 ctrlaltf2 added this to In progress in First Release Jun 2, 2020
@ctrlaltf2
Copy link
Owner Author

@modeco80
Copy link
Contributor

modeco80 commented Feb 9, 2021

Call me stupid but I'd use CRTP for this since there's not really any scenario where you have to switch at runtime unless for cases you could write into the transport (also just since the call is elided very quickly thanks to the fact that this causes the compiler to be able to do more aggressive optimization)

something ala
https://godbolt.org/z/cKP659

(also yes, I know it's 3AM and I shouldn't be up.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0-issues enhancement medium effort refactor server Work on the server is needed to close this issue.
Projects
No open projects
First Release
  
In progress
Development

No branches or pull requests

2 participants