lime
Lime is a C++ library implementing Open Whisper System Signal protocol
Loading...
Searching...
No Matches
org.linphone.lime.LimePostToX3DH Interface Reference

Define an interface to communicate with the X3DH server. More...

Public Member Functions

void postToX3DHServer (long ptr, String url, String from, byte[] message)
 Function called by native code to post a message to the X3DH server.

Detailed Description

Define an interface to communicate with the X3DH server.

Member Function Documentation

◆ postToX3DHServer()

void org.linphone.lime.LimePostToX3DH.postToX3DHServer ( long ptr,
String url,
String from,
byte[] message )

Function called by native code to post a message to the X3DH server.

Parameters
[in]ptra native object pointer (stored in java long), must be returned along the server response to process it
[in]urlthe X3DH server's URL
[in]fromshall be included in the from field of HTTPS packet sent to the server(holds the local device Id of message sender)
[in]messagethe binary content of the message to be sent
Note
: To forward the server's response, call the LimeManager.process_response static method giving back the native object pointer

The documentation for this interface was generated from the following file: