CollabVM 1.2 Protocol Reference: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
<tr><td>Parameter 3</td><td>A Base64-encoded thumbnail for the VM. Will be either PNG or JPEG depending on the server implementation. This can be determined through magic numbers.</td></tr>
</table>
 
=== Request a username ===
 
Before connecting, the client must now obtain a username.
 
==== Request ====
 
<table class="wikitable">
<tr><td>Opcode</td><td><code>rename</code></td></tr>
<tr><td>Parameter 1</td><td><b>(OPTIONAL)</b> The username requested by the client. May be omitted if the client has no preference. The server is under no obligation to respect this and may provide a guest username for a multitude of reasons</td></tr>
</table>
 
==== Response ====
 
The server will respond with a [[#Client Renamed|Client Renamed]] event, however with one key difference: The status will always be <code>0</code> success, even if the requested username was not available for whatever reason. In this case, a guest username is assigned.
 
=== Connect to a VM ===

Navigation menu