Function headerParam
Declare that a parameter will be transmitted to the API through the headers.
If the parameter is a string, or any scalar type (float, int, char[], ...), it will be send as a string. If it's an aggregate, it will be serialized as JSON. However, passing aggregate via header isn't a good practice and should be avoided for new production code.
Prototype
vibe .web .common .WebParamAttribute headerParam(
string identifier,
string field
);
Parameters
Name | Description |
---|
Authors
Sönke Ludwig, Михаил Страшун
Copyright
© 2012-2014 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.