pub fn sign_message<'a>(
message: &'a Message,
last_signature: &'a str,
params: &'a SigningParams<'a>,
) -> Result<SigningOutput<Message>, SigningError>Expand description
Signs an Event Stream message with the given credentials.
Each message’s signature incorporates the signature of the previous message (last_signature).
The very first message incorporates the signature of the top-level request
for both HTTP 2 and WebSocket.