[−][src]Function sp_yew::reply_to_rpc_dto
pub fn reply_to_rpc_dto<T>(
tx: String,
rx: String,
key: String,
correlation_id: Uuid,
payload: T,
result: RpcResult,
route: Route,
auth_token: Option<String>,
auth_data: Option<Value>
) -> Result<Vec<u8>, Error> where
T: Debug + Serialize,