Docs.rs
websocket-0.27.1
websocket 0.27.1
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
cyderize
illegalprime
github:rust-bus:maintainers
github:websockets-rs:devs
Dependencies
bytes ^0.4
normal
optional
futures ^0.1
normal
optional
hyper ^0.10.6
normal
native-tls ^0.2.1
normal
optional
rand ^0.6.1
normal
tokio-codec ^0.1
normal
optional
tokio-io ^0.1
normal
optional
tokio-reactor ^0.1
normal
optional
tokio-tcp ^0.1
normal
optional
tokio-tls ^0.2.0
normal
optional
unicase ^1.0
normal
url ^1.0
normal
websocket-base ^0.26.5
normal
futures-cpupool ^0.1
dev
tokio ^0.1
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
websocket
0.27.1
In websocket::
ws::
util::
mask
websocket
::
ws
::
util
::
mask
Function
mask_data
Copy item path
Source
pub fn mask_data(mask: [
u8
;
4
], data: &[
u8
]) ->
Vec
<
u8
>
ⓘ
Expand description
Masks data to send to a server and writes