Searched refs:out_buffer_ (Results 1 – 2 of 2) sorted by relevance
82 DynHandler::DynHandler(struct lws* wsi) : wsi_(wsi), out_buffer_(LWS_PRE, 0) {} in DynHandler()85 AppendData(data.c_str(), data.size(), out_buffer_); in AppendDataOut()93 auto len = out_buffer_.size() - LWS_PRE; in OnWritable()95 out_buffer_.resize(out_buffer_.size() + LWS_PRE); in OnWritable()96 auto res = lws_write(wsi_, reinterpret_cast<uint8_t*>(&out_buffer_[LWS_PRE]), in OnWritable()105 size_t DynHandler::content_len() const { return out_buffer_.size() - LWS_PRE; } in content_len()
104 std::string out_buffer_ = {}; variable