use classy::hl::BodyStream;
use crate::AttributesBinding;
#[derive(Debug, Clone)]
pub struct StreamSolver {}
impl StreamSolver {
pub fn for_source(_source: Option<&str>) -> Self {
Self {}
}
pub fn bind_attributes(&mut self, _binding: &dyn AttributesBinding) {}
#[allow(unused)]
pub async fn bind_body_stream(&mut self, mut body: BodyStream<'_>) -> String {
String::from_utf8_lossy(body.collect().await.bytes()).to_string()
}
}