mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 09:41:34 +00:00
Add parity_multiaddr::from_websockets_url (#1113)
* Add parity_multiaddr::from_websockets_url * Make from_websockets_url more genreic * Oops, forgot the file * Use the URL crate * Add dns_and_port test * Address review * Add support for unix
This commit is contained in:
@ -4,6 +4,7 @@ pub use multihash;
|
||||
|
||||
mod protocol;
|
||||
mod errors;
|
||||
mod from_url;
|
||||
mod util;
|
||||
|
||||
use bytes::{Bytes, BytesMut};
|
||||
@ -23,6 +24,7 @@ use std::{
|
||||
str::FromStr
|
||||
};
|
||||
pub use self::errors::{Result, Error};
|
||||
pub use self::from_url::{FromUrlErr, from_url, from_url_lossy};
|
||||
pub use self::protocol::Protocol;
|
||||
|
||||
/// Representation of a Multiaddr.
|
||||
|
Reference in New Issue
Block a user