PsychichHTTP v2-dev
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
* PARAMETER :: Chainable object to hold GET/POST and FILE parameters
|
||||
* */
|
||||
|
||||
class PsychicWebParameter {
|
||||
class PsychicWebParameter
|
||||
{
|
||||
private:
|
||||
String _name;
|
||||
String _value;
|
||||
@@ -14,7 +15,7 @@ class PsychicWebParameter {
|
||||
bool _isFile;
|
||||
|
||||
public:
|
||||
PsychicWebParameter(const String& name, const String& value, bool form=false, bool file=false, size_t size=0): _name(name), _value(value), _size(size), _isForm(form), _isFile(file){}
|
||||
PsychicWebParameter(const String& name, const String& value, bool form = false, bool file = false, size_t size = 0) : _name(name), _value(value), _size(size), _isForm(form), _isFile(file) {}
|
||||
const String& name() const { return _name; }
|
||||
const String& value() const { return _value; }
|
||||
size_t size() const { return _size; }
|
||||
@@ -22,4 +23,4 @@ class PsychicWebParameter {
|
||||
bool isFile() const { return _isFile; }
|
||||
};
|
||||
|
||||
#endif //PsychicWebParameter_h
|
||||
#endif // PsychicWebParameter_h
|
||||
Reference in New Issue
Block a user