custom for >5 resources
Fork of mbedConnectorInterface by
Diff: api/DynamicResource.cpp
- Revision:
- 53:458c2730e086
- Parent:
- 52:822611156e35
- Child:
- 54:6963bb4d0399
diff -r 822611156e35 -r 458c2730e086 api/DynamicResource.cpp --- a/api/DynamicResource.cpp Tue Apr 14 04:00:01 2015 +0000 +++ b/api/DynamicResource.cpp Tue Apr 14 13:44:41 2015 +0000 @@ -391,12 +391,12 @@ } // set the content-format in responses -void DynamicResource::set_content_format(uint8_t content_format) { +void DynamicResource::setContentFormat(uint8_t content_format) { this->m_content_format = content_format; } // set the max-age of responses -void DynamicResource::set_maxage(uint8_t maxage) { +void DynamicResource::setMaxAge(uint8_t maxage) { this->m_maxage = maxage; }