- Type cast to char, rather than uint8_t
- Return tag in the doxygen documentation
///
/// This method is called by the @ref HttpRequestParser to retrieve the
/// context in which parsed data is stored.
+ ///
+ /// @return Pointer to the underlying @ref HttpRequestContext.
const HttpRequestContextPtr& context() const {
return (context_);
}
if (getNextEvent() == NEED_MORE_DATA_EVT) {
transition(getCurrState(), MORE_DATA_PROVIDED_EVT);
}
- buffer_.insert(buffer_.end(), static_cast<const uint8_t*>(buf),
- static_cast<const uint8_t*>(buf) + buf_size);
+ buffer_.insert(buffer_.end(), static_cast<const char*>(buf),
+ static_cast<const char*>(buf) + buf_size);
}
}