MCPcopy Create free account
hub / github.com/OctaneWeb/Octane / get_query

Method get_query

src/request.rs:338–340  ·  view source on GitHub ↗

Parse the query and return the key value pairs in the form of an HashMap ``` use octane::prelude::*; let mut app = Octane::new(); app.get("/", route_next!(|req, res| { let parsed_query = req.get_query(); let value = parsed_query.get("value"); })); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

parse_queryFunction · 0.85
to_stringMethod · 0.80

Tested by

no test coverage detected