[−][src]Function muoxi_staging::transfer
pub async fn transfer(
__arg0: TcpStream,
game_addr: String
) -> Result<(), Box<dyn Error>>
Turns the staging server into a full proxy server, relaying information sent to proxy/staging server to MuOxi game engine
Example usage
let _proxy = transfer(inbound, GAME_ADDR.to_string().clone()).map(|r| { if let Err(e) = r { println!("Failed to transfer; error={}", e); } });