MCPcopy Create free account
hub / github.com/CrowCpp/Crow / PerMethod

Class PerMethod

include/crow/routing.h:1877–1885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1875 CatchallRule catchall_rule_;
1876
1877 struct PerMethod
1878 {
1879 std::vector<BaseRule*> rules;
1880 Trie trie;
1881
1882 // rule index 0, 1 has special meaning; preallocate it to avoid duplication.
1883 PerMethod():
1884 rules(2) {}
1885 };
1886 std::array<PerMethod, static_cast<int>(HTTPMethod::InternalMethodCount)> per_methods_;
1887 std::vector<std::unique_ptr<BaseRule>> all_rules_;
1888 std::vector<Blueprint*> blueprints_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected