mirror of https://github.com/fafhrd91/actix-web
ws/frame: Change `FramedMessage` content visibility
This commit is contained in:
parent
5cfcdcc06f
commit
a0c44c56de
|
@ -376,7 +376,7 @@ impl fmt::Display for Frame {
|
||||||
|
|
||||||
/// `WebSocket` message with framing.
|
/// `WebSocket` message with framing.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct FramedMessage(pub Binary);
|
pub struct FramedMessage(pub(crate) Binary);
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
|
Loading…
Reference in New Issue