Protected
clientSend an answer to server with given data.
if server returns an error
response type, i.e: 'invitation',...
request id
response data.
Cancel a previous request.
when server returns an error.
received invitation request Id.
user name that requested the invitation
Optional
error: number = 487rejection code to send
Decline a received/sent invitation to join a room.
when server returns an error.
resoponse with server response on success.
invitation request ID.
user name who send the invitation.
Optional
error: number = 603rejection code to send
Retrieve current invitations.
when server returns an error.
request Id.
user name that requests the invitations
Send an invitation to one room to the user with given username.
when server returns an error.
resolved with server response on success.
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
Send a request to server with given data.
if server returns an error
resolved with server response.
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.
Generated using TypeDoc
Accept a received invitation to join a room.
Throws
when server returns an error.
Returns
resolved with server response on success.