lime
Lime is a C++ library implementing Open Whisper System Signal protocol
|
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. | |
Define an interface to communicate with the X3DH server.
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.
[in] | ptr | a native object pointer (stored in java long), must be returned along the server response to process it |
[in] | url | the X3DH server's URL |
[in] | from | shall be included in the from field of HTTPS packet sent to the server(holds the local device Id of message sender) |
[in] | message | the binary content of the message to be sent |