Skip to content

Instantly share code, notes, and snippets.

@fitomad

fitomad/vapor4_routing.swift Secret

Created Apr 27, 2020
Embed
What would you like to do?
// Como capturar una variable
app.get("rooms", ":name") { req -> String in
if let roomName = req.parameters.get("name")
{
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.