Rest.Params – rest-0.7 Reference Manual
Params
Object Hierarchy:
Rest.Params
Rest.Params
Rest.Params
Description:
[
CCode
( has_type_id =
false
) ]
[
Compact
]
public
class
Params
Namespace:
Rest
Package:
rest-0.7
Content:
Methods:
public
unowned
Param
?
@get
(
string
name)
Return the
Param
called
name
, or
null
if it doesn't exist.
public
void
add
(
owned
Param
param)
Add
param
to
this
.
public
bool
are_strings
()
Checks if the parameters are all simple strings (have a content type of "text/plain").
public
HashTable
<
unowned
string
,
unowned
string
>
as_string_hash_table
()
Create a new
GenericSet
which contains the name and value of all string (content type of text/plain) parameters.
public
void
free
()
Destroy the
Params
and the
Param
objects that it contains.
public
void
remove
(
string
name)
Remove the
Param
called
name
.
2022 vala-language.org