MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / send_forward_indicate_webview

Function send_forward_indicate_webview

packages/server/src/webkit.rs:879–897  ·  view source on GitHub ↗
(
    writer: &mut W,
    connection_id: &str,
    app_id: &str,
    page_id: u64,
    enabled: bool,
)

Source from the content-addressed store, hash-verified

877}
878
879async fn send_forward_indicate_webview<W: AsyncWrite + Unpin>(
880 writer: &mut W,
881 connection_id: &str,
882 app_id: &str,
883 page_id: u64,
884 enabled: bool,
885) -> Result<(), AppError> {
886 let mut args = rpc_args(connection_id);
887 args.insert(
888 "WIRApplicationIdentifierKey".to_owned(),
889 Value::String(app_id.to_owned()),
890 );
891 args.insert(
892 "WIRPageIdentifierKey".to_owned(),
893 Value::Integer(page_id.into()),
894 );
895 args.insert("WIRIndicateEnabledKey".to_owned(), Value::Boolean(enabled));
896 send_rpc(writer, "_rpc_forwardIndicateWebView:", args).await
897}
898
899async fn send_forward_socket_setup<W: AsyncWrite + Unpin>(
900 writer: &mut W,

Callers 1

attach_websocket_innerFunction · 0.85

Calls 3

rpc_argsFunction · 0.85
send_rpcFunction · 0.85
insertMethod · 0.80

Tested by

no test coverage detected