Add missing documentation for Url struct

Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
pull/1/head
Alexey Galakhov 8 years ago
parent bf165fd9c2
commit c6b76a5c87
  1. 2
      src/lib.rs

@ -41,7 +41,9 @@ use tungstenite::server;
/// A WebSocket request /// A WebSocket request
pub struct Request<'a> { pub struct Request<'a> {
/// URL of the request.
pub url: Url, pub url: Url,
/// Extra headers, if any.
pub headers: Vec<(&'a str, &'a str)>, pub headers: Vec<(&'a str, &'a str)>,
} }

Loading…
Cancel
Save