class Cosmo::Intrinsic::HttpLib::Request::GetParameter
- Cosmo::Intrinsic::HttpLib::Request::GetParameter
- Cosmo::Intrinsic::HttpLib::Server::ContextFunctionBase
- Cosmo::Intrinsic::IFunction
- Cosmo::Callable
- Reference
- Object
Overview
Retrieves the value of a query parameter
Defined in:
cosmo/runtime/intrinsic/lib/http.crInstance Method Summary
-
#arity : Range(UInt32, UInt32)
The amount of parameters this function will accept
-
#call(args : Array(ValueType)) : String | Nil
Executes the function body, passing in
args
Constructor methods inherited from class Cosmo::Intrinsic::HttpLib::Server::ContextFunctionBase
new(interpreter : Interpreter, server_ctx : HTTP::Server::Context)
new
Instance methods inherited from class Cosmo::Intrinsic::IFunction
call(args : Array(ValueType)) : ValueType
call,
intrinsic? : Bool
intrinsic?,
to_s : String
to_s,
token(name : String) : Token
token
Constructor methods inherited from class Cosmo::Intrinsic::IFunction
new(interpreter : Interpreter)
new
Instance methods inherited from class Cosmo::Callable
arity : Range(UInt32, UInt32)
arity,
call(args : Array(ValueType)) : ValueType
call,
expand_args(args : Array(ValueType)) : Array(ValueType)
expand_args,
intrinsic? : Bool
intrinsic?,
to_s : String
to_s
Instance Method Detail
def arity : Range(UInt32, UInt32)
#
Description copied from class Cosmo::Callable
The amount of parameters this function will accept
Description copied from class Cosmo::Callable
Executes the function body, passing in args