tungstenite
0.20.1
Request
Aliased type
Trait Implementations
TryParse
In tungstenite::handshake::server
Type Alias
tungstenite
::
handshake
::
server
::
Request
Copy item path
source
·
[
−
]
pub type Request =
Request
<
()
>;
Expand description
Server request type.
Aliased Type
§
struct Request {
/* private fields */
}
Trait Implementations
§
source
§
impl
TryParse
for
Request
source
§
fn
try_parse
(buf: &[
u8
]) ->
Result
<
Option
<(
usize
, Self)>>
Return Ok(None) if incomplete, Err on syntax error.