Skip to main content

create_notification

Function create_notification 

Source
pub fn create_notification(
    method: &str,
    params: Option<Serializable>,
) -> Serializable
Expand description

Create a notification message with a method name and optional params.

ยงPanics

Panics if method contains interior null bytes.