class

Silver::Context

Inherits Reference < Object

The context for some request. Along with the path and parameters.

Constructors

new(request : HttpRequest, params : Hash(String, String) = Hash(String, String).new)
Source

Instance methods

param(name : String) : String | Nil
Source
params
Source
path
Source
query(name : String) : String | Nil
Source
query_params
Source
request
Source