[−][src]Type Definition serenity::gateway::WsClient
type WsClient = WebSocket<AutoStream>;
Trait Implementations
impl WebSocketGatewayClientExt for WsClient
[src]
fn send_chunk_guilds<It>(
&mut self,
guild_ids: It,
shard_info: &[u64; 2],
limit: Option<u16>,
query: Option<&str>
) -> Result<()> where
It: IntoIterator<Item = GuildId>,
[src]
&mut self,
guild_ids: It,
shard_info: &[u64; 2],
limit: Option<u16>,
query: Option<&str>
) -> Result<()> where
It: IntoIterator<Item = GuildId>,
fn send_heartbeat(
&mut self,
shard_info: &[u64; 2],
seq: Option<u64>
) -> Result<()>
[src]
&mut self,
shard_info: &[u64; 2],
seq: Option<u64>
) -> Result<()>
fn send_identify(
&mut self,
shard_info: &[u64; 2],
token: &str,
guild_subscriptions: bool
) -> Result<()>
[src]
&mut self,
shard_info: &[u64; 2],
token: &str,
guild_subscriptions: bool
) -> Result<()>
fn send_presence_update(
&mut self,
shard_info: &[u64; 2],
current_presence: &CurrentPresence
) -> Result<()>
[src]
&mut self,
shard_info: &[u64; 2],
current_presence: &CurrentPresence
) -> Result<()>
fn send_resume(
&mut self,
shard_info: &[u64; 2],
session_id: &str,
seq: u64,
token: &str
) -> Result<()>
[src]
&mut self,
shard_info: &[u64; 2],
session_id: &str,
seq: u64,
token: &str
) -> Result<()>