Struct acestream_client::Engine [−][src]
Fields
engine_url: Url
streams: HashMap<String, Stream>
Methods
impl Engine
[src]
impl Engine
pub fn new(http_link: &str) -> Self
[src]
pub fn new(http_link: &str) -> Self
pub fn is_up(&self) -> bool
[src]
pub fn is_up(&self) -> bool
pub fn version(&self) -> Result<Value, Error>
[src]
pub fn version(&self) -> Result<Value, Error>
pub fn build_url(&self, path: &str, queries: &HashMap<String, String>) -> Url
[src]
pub fn build_url(&self, path: &str, queries: &HashMap<String, String>) -> Url
pub fn get_stream(&self, id: &str) -> Stream
[src]
pub fn get_stream(&self, id: &str) -> Stream
pub fn add_stream(&mut self, id: &str)
[src]
pub fn add_stream(&mut self, id: &str)
pub fn get_stream_link(&self, id: &str) -> String
[src]
pub fn get_stream_link(&self, id: &str) -> String
pub fn is_stream_live(&self, id: &str) -> bool
[src]
pub fn is_stream_live(&self, id: &str) -> bool
pub fn get_stream_stat(&self, id: &str) -> Stat
[src]
pub fn get_stream_stat(&self, id: &str) -> Stat
pub fn stop_stream(&self, id: &str) -> String
[src]
pub fn stop_stream(&self, id: &str) -> String
pub fn get_players(&self) -> Vec<Player>
[src]
pub fn get_players(&self) -> Vec<Player>
pub fn play_on_player(&self, id: &str, player_id: &str) -> AceResult<String>
[src]
pub fn play_on_player(&self, id: &str, player_id: &str) -> AceResult<String>
Trait Implementations
impl Debug for Engine
[src]
impl Debug for Engine
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Engine
[src]
impl Default for Engine