class Marten::HTTP::Params::Query

Overview

Represents a set of GET parameters, extracted from a request's query string.

Included Modules

Defined in:

marten/http/params/query.cr
marten/template/ext/http/params/query.cr

Constructors

Instance Method Summary

Instance methods inherited from module Marten::HTTP::Params::Core

[](name : String | Symbol) [], []=(*args, **options) []=, []?(name : String | Symbol) []?, each(*args, **options)
each(*args, **options, &)
each
, empty?(*args, **options)
empty?(*args, **options, &)
empty?
, fetch(name : String | Symbol, default = nil)
fetch(name : String | Symbol, &)
fetch
, fetch_all(name : String | Symbol, default = nil) fetch_all, has_key?(name : String | Symbol) has_key?, size size, to_s(*args, **options)
to_s(*args, **options, &)
to_s

Constructor Detail

def self.new(params : RawHash) #

[View source]
def self.new #

[View source]

Instance Method Detail

def as_query : String #

Returns a string corresponding to the params in query string format.


[View source]