Caps.simple


Description:

[ CCode ( has_construct_function = false ) ]
public Caps.simple (string media_type, string fieldname, ...)

Creates a new Caps that contains one Structure.

The structure is defined by the arguments, which have the same format as Structure.

Parameters:

media_type

the media type of the structure

fieldname

first field to set

...

additional arguments

Returns:

the new Caps