[−][src]Function screeps_api::websocket::commands::unsubscribe
pub fn unsubscribe(channel: &Channel) -> String
Gets the raw websocket string to send for unsubscribing to a channel.
Unsubscribing from a channel you are not subscribed to appears to have no affect.
Recommended that you keep track of what channels you are subscribed to separately: this
is tracked by the server, but is not tracked by screeps-api
, and cannot be queried from the
server.