ssdp/
lib.rs

1#![allow(unused_features)]
2#![feature(ip)]
3#![recursion_limit = "1024"]
4
5//! An asynchronous abstraction for discovering devices and services on a network.
6//!
7//! SSDP stands for Simple Service Discovery Protocol and it is a protocol that uses
8//! HTTPMU to distribute messages across a local network for devices and services to
9//! discover each other. SSDP can most commonly be found in devices that implement
10//! `UPnP` as it is used as the discovery mechanism for that standard.
11
12extern crate hyper;
13#[macro_use]
14extern crate log;
15extern crate time;
16extern crate get_if_addrs;
17extern crate net2;
18#[macro_use]
19extern crate error_chain;
20
21mod error;
22mod field;
23mod net;
24mod receiver;
25
26pub mod header;
27pub mod message;
28
29pub use error::{SSDPError, SSDPErrorKind, SSDPResultExt, SSDPResult};
30pub use field::FieldMap;
31pub use receiver::{SSDPReceiver, SSDPIter};
32pub use net::IpVersionMode;