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

Implement routing #31

Merged
merged 69 commits into from
Nov 9, 2024
Merged

Implement routing #31

merged 69 commits into from
Nov 9, 2024

Conversation

Jacquwes
Copy link
Owner

@Jacquwes Jacquwes commented Nov 9, 2024

PR Classification

New feature and code enhancement.

PR Summary

This pull request introduces new routing capabilities and enhances the server's functionality, along with switching the testing framework to Doctest.

  • CMakeLists.txt: Enabled export of compile commands, added new source files, and switched to Doctest for testing.
  • server_example.cpp: Added routes to handle various HTTP requests and serve static files.
  • server.h and server_connection.h: Added methods for managing routes and handling HTTP requests.
  • Added route_node.h, route_path.h, and route_tree.h to define classes for managing HTTP routes.
  • client_connection.cpp: Simplified return statement.

…re-radix-tree' of https://github.com/Jacquwes/pine-http into 28-routes-should-be-stored-in-an-efficient-data-structure-radix-tree
@Jacquwes Jacquwes linked an issue Nov 9, 2024 that may be closed by this pull request
8 tasks
@Jacquwes Jacquwes merged commit 7cfb742 into master Nov 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement paths
1 participant