wtx 0.45.0

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
#[derive(Debug)]
pub(crate) struct WriterData<SW> {
  pub(crate) stream_writer: SW,
}

impl<SW> WriterData<SW> {
  pub(crate) fn new(stream_writer: SW) -> Self {
    Self { stream_writer }
  }
}