Changes between Version 30 and Version 31 of WikiStart


Ignore:
Timestamp:
04/30/19 16:07:12 (6 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v30 v31  
    5353
    5454=== Create new running instance of a party
    55 When a client does a http get with an URI as provided in the GeneralPartyInfo field above, the following should happen
     55When a client does a http get with an URI as provided in the GeneralPartyInfo field above, the server tries to create a running instance of that party. There are two possible responses from the party server:
    5656
    57 * The server tries to create a running instance of that party
    58 * There are two possible responses from the party server:
    59  * If the party was launched sucessfully: the http get returns a websocket address (ws:...) as plain text on which the party can be contacted.
    60  * If the party could not be launched (eg, not enough resources) the server returns error code 503 "Service Unavailable". The 503 includes a message like {{{retry later at 1556631286760}}}. The message is kept human readable but the last element of the message must be a unix timestamp containing the time at which to retry. To create this message, the server can either create a default (e.g. let the client retry after a fixed set time) or actually use the estimated termination times of the parties. The current available server does the latter.
     57* If the party was launched sucessfully: the http get returns a websocket address (ws:...) as plain text on which the party can be contacted.
     58* If the party could not be launched (eg, not enough resources) the server returns error code 503 "Service Unavailable". The 503 includes a message like {{{retry later at 1556631286760}}}. The message is kept human readable but the last element of the message must be a unix timestamp containing the time at which to retry. To create this message, the server can either create a default (e.g. let the client retry after a fixed set time) or actually use the estimated termination times of the parties. The current available server does the latter.
    6159
    6260If the connection was succesful and thus the response was a websocket address, the websocket connection implements a {{{Connection<Inform, Action>}}}. This connection has the following protocol: