Protected
clientSend an answer to server with given data.
response type, i.e: 'invitation',...
request id
response data.
if server returns an error
Cancel a previous request.
response type, i.e: 'invitation',...
request id
if server returns an error
Decline a received/sent invitation to join a room.
invitation request ID.
user name who send the invitation.
Optional
error: number = 603rejection code to send
resoponse with server response on success.
when server returns an error.
Retrieve current invitations.
request Id.
user name that requests the invitations
when server returns an error.
Send an invitation to one room to the user with given username.
invitation request ID.
the user name that requested the invitation.
user name to request invitation.
room identifier where invited user should join.
default mediatypes that invited peer should use.
Optional
requestId: stringthe ID of the request that generated this invitation.
context information for agent assignment purposes
resolved with server response on success.
when server returns an error.
Send a request to server with given data.
request type, i.e: 'createRoom', 'invitation',...
request id
requested body.
Optional
retry: numberif specified and an id is provided, when an answer is not received for this requested id, message will be send again periodically.
resolved with server response.
if server returns an error
Accept a received invitation to join a room.