web: Stub connect_socket()

This commit is contained in:
sleepycatcoding 2023-07-15 01:15:16 +03:00 committed by Nathan Adams
parent 8f6aab56e0
commit ff1a9bb083
1 changed files with 5 additions and 0 deletions

View File

@ -355,4 +355,9 @@ impl NavigatorBackend for WebNavigatorBackend {
}
url
}
fn connect_socket(&mut self, _host: &str, _port: u16) -> Option<Box<dyn ruffle_core::socket::SocketConnection>> {
// FIXME: Add way to call out to JS code.
None
}
}